lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mark risher (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-2510) Proximity search is not symmetric
Date Wed, 11 May 2011 21:45:47 GMT
Proximity search is not symmetric
---------------------------------

                 Key: SOLR-2510
                 URL: https://issues.apache.org/jira/browse/SOLR-2510
             Project: Solr
          Issue Type: Bug
          Components: search, web gui
    Affects Versions: 3.1
         Environment: Ubuntu 10.04
            Reporter: mark risher


The proximity search is incorrect on words occurring *before* the matching term. It matches
documents that are less-than N words before and less-than-or-equal-to N words after.

For example, use the following document:
   WORD_A WORD_B WORD_C WORD_D WORD_E WORD_F WORD_G

Expected result: Both of the following queries should match:
1) "WORD_D WORD_G"~3
2) "WORD_D WORD_A"~3

Actual result: Only #1 matches.



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