[ 
https://issues.apache.org/jira/browse/SOLR-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated SOLR-2108:
------------------------------

    Attachment: SOLR-2108.patch

Simple fix: if we are doing a wildcard query on a reversed field, but we 
*are not* going to reverse it, we must subtract the set of reversed terms 
(markerChar*) from the query dfa as these could be false positives.

I also added a basic test.

> ReversedWildcardFilter can create false positives
> -------------------------------------------------
>
>                 Key: SOLR-2108
>                 URL: https://issues.apache.org/jira/browse/SOLR-2108
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-2108.patch
>
>
> Reported from the userlist: 
> {noformat}
> "For instance, the query *zemog* matches documents that contain Gomez"
> {noformat}
> http://www.lucidimagination.com/search/document/35abfdabfcec99b7/false_matches_with_reversedwildcardfilterfactory

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to