You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Artem Lukanin (JIRA)" <ji...@apache.org> on 2013/03/06 11:32:13 UTC

[jira] [Updated] (SOLR-4533) Synonyms, created in custom filters are ignored after tokenizers.

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org