lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Lukanin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4533) Synonyms, created in custom filters are ignored after tokenizers.
Date Wed, 06 Mar 2013 10:32:13 GMT

     [ 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


Mime
View raw message