You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/09/08 02:54:33 UTC

[jira] Updated: (SOLR-2108) ReversedWildcardFilter can create false positives

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