I don't think there is any direct alternative available for Syns2Index
as entire contrib/wordnet has been discontinued with release of Lucene 3.4. But it seems they have merged some of the functionalities of Syns2Index
into SynonymFilter
, I don't know if these merges are carried forward in SysnonymFilter
for lucene 4.5. This is the official change log. hope you get what you are looking for.
Update:
for the purpose of Query parsing use WordnetSynonymParser
, and if you want to lookup synonyms of particular word i would suggest go for JAWS
which provides very good API for word search.