Reputation: 1
have long since I have been researching, but so far have not found anything to solve my problem. I'm trying to create a filter for Solr, which add a TOKEN. For example, the entry is "Football" and the output is "Football" and "Brazil." If possible I would like a practical example. Thanks in advance.
Upvotes: 0
Views: 50
Reputation: 52769
Instead of a filter you can use SynonymFilterFactory to add Synonyms as mentioned in your example.
This will allow you map terms and related terms, which would get added to the index.
Upvotes: 1