Hi David & Ahmet,
I hadn't seen the SynonymTokenFilter from Lucene, so that helped.
Ultimately, however, it seems I was pretty much doing the right thing,
although my token type might have been wrong.
Unfortunately, while the tokens are being returned properly (AFAIK),
when I do a query usin
Although this is not a direct answer to your question, you may want to consider
generating a synonyms file from wordnet. Then, you can use the standard
synonym filter in Solr. The only downside to this is that the synonym file
might be pretty large... but you've probably got some large file fo
> I've been writing some custom synonym filters and have run
> into an issue with returning a list of tokens. I have a
> synonym filter that uses the WordNet database to extract
> synonyms. My problem is how to define the offsets and
> position increments in the new Tokens I'm returning.
>
> For a
Hi all,
I've been writing some custom synonym filters and have run into an issue
with returning a list of tokens. I have a synonym filter that uses the
WordNet database to extract synonyms. My problem is how to define the
offsets and position increments in the new Tokens I'm returning.
For a