You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Graham P (JIRA)" <ji...@apache.org> on 2010/07/26 11:37:59 UTC

[jira] Issue Comment Edited: (SOLR-1553) extended dismax query parser

    [ 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:37 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 +.   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.



      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