[
https://issues.apache.org/jira/browse/SOLR-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Artem Lukanin updated SOLR-4533:
--------------------------------
Attachment: synonyms.patch
Fixed
> Synonyms, created in custom filters are ignored after tokenizers.
> -----------------------------------------------------------------
>
> Key: SOLR-4533
> URL: https://issues.apache.org/jira/browse/SOLR-4533
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.1
> Reporter: Artem Lukanin
> Attachments: synonyms.patch
>
>
> If a synonym token is added in a custom filter (e.g. this one:
> http://solr.pl/en/2013/02/04/developing-your-own-solr-filter-part-2/) and the
> default operator is AND, the query becomes broken, because 2 tokens at the
> same position becomes required, which is impossible. Solution: place all
> synonyms in a separate clause and assign these tokens occur=SHOULD.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]