lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham P (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (SOLR-1553) extended dismax query parser
Date Mon, 26 Jul 2010 09:39:56 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892233#action_12892233
] 

Graham P edited comment on SOLR-1553 at 7/26/10 5:39 AM:
---------------------------------------------------------

Please ensure that the the edismax does not have old DisMax bug where a query for

bar - foo

gets treated like

bar -foo

Users do not expect the first query to remove all instances of "foo" from their results. 
"\-" meaning "forbidden" should only take effect when the "\-" is followed by a non-whitespace
character.  Similarly for +.   Same problem as SOLR-490, but I doubt the necessity of interpreting
the original query as a phrase query "bar - foo" in order to fix the problem.



      was (Author: grahamp):
    Please ensure that the the edismax does not have old DisMax bug where a query for

bar - foo

gets treated like

bar -foo

Users do not expect the first query to remove all instances of "foo" from their results. 
"\-" meaning "forbidden" should only take effect when the "\-" is followed by a non-whitespace
character.  Similarly for +.   Like to SOLR-490, but I do not believe you need to re-interpret
the original query as a phrase query "bar - foo" in order to fix the problem.


  
> extended dismax query parser
> ----------------------------
>
>                 Key: SOLR-1553
>                 URL: https://issues.apache.org/jira/browse/SOLR-1553
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>             Fix For: 1.5, 3.1, 4.0
>
>         Attachments: edismax.unescapedcolon.bug.test.patch, edismax.userFields.patch,
SOLR-1553.patch, SOLR-1553.pf-refactor.patch
>
>
> An improved user-facing query parser based on dismax

-- 
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


Mime
View raw message