Disable cross-matches on multi-valued fields
--------------------------------------------

                 Key: LUCENE-3322
                 URL: https://issues.apache.org/jira/browse/LUCENE-3322
             Project: Lucene - Java
          Issue Type: Improvement
          Components: core/search
    Affects Versions: 4.0
            Reporter: James Dyer
            Priority: Minor


When searching against a multi-valued field it is often advantageous to disable 
cross-matches.  For instance, if a book contains two authors:  "john smith" and 
"brian jones", a search for "john jones" should not match.  

Currently the best workaround is to search using a sloppy phrase query.  The 
drawback is that phrases are incompatible with other features such as wildcards 
and ranges.  Additionally, it is left up to the user to know to formulate the 
query differently if searching a multi-valued field.   

--
This message is automatically generated by JIRA.
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]

Reply via email to