You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Rafał Kuć (JIRA)" <ji...@apache.org> on 2010/07/12 14:45:50 UTC

[jira] Created: (SOLR-1996) Possible edismax phrase query bug with query parametr like: q=(aaa+bbb)+OR+otherField:(zzz)^30

Possible edismax phrase query bug with query parametr like: q=(aaa+bbb)+OR+otherField:(zzz)^30
----------------------------------------------------------------------------------------------

                 Key: SOLR-1996
                 URL: https://issues.apache.org/jira/browse/SOLR-1996
             Project: Solr
          Issue Type: Bug
          Components: search
    Affects Versions: 1.4.1, 1.4
         Environment: Ubuntu 10, Java 5 - 6
            Reporter: Rafał Kuć


I think there is a problem with edismax query parser. When I try to use pf parameter with query parameter defined like this: q=(aaa bbb)+OR+field:("aaa bbb")^100 the pf parametr is not working - with debug turned on i see some strange phrase query as a part of lucene raw query. Of course when I set the query parametr to something like: q=(aaa bbb) without the 'OR' part the phrase boost is working perfectly. 




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


[jira] Commented: (SOLR-1996) Possible edismax phrase query bug with query parametr like: q=(aaa+bbb)+OR+otherField:(zzz)^30

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887569#action_12887569 ] 

Yonik Seeley commented on SOLR-1996:
------------------------------------

If that's the actual query, it may be due to some default test synonyms in solr/conf/synonyms.txt

{code}
#some test synonym mappings unlikely to appear in real input text
aaa => aaaa
bbb => bbbb1 bbbb2
{code}

> Possible edismax phrase query bug with query parametr like: q=(aaa+bbb)+OR+otherField:(zzz)^30
> ----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1996
>                 URL: https://issues.apache.org/jira/browse/SOLR-1996
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.4, 1.4.1
>         Environment: Ubuntu 10, Java 5 - 6
>            Reporter: Rafał Kuć
>
> I think there is a problem with edismax query parser. When I try to use pf parameter with query parameter defined like this: q=(aaa bbb)+OR+field:("aaa bbb")^100 the pf parametr is not working - with debug turned on i see some strange phrase query as a part of lucene raw query. Of course when I set the query parametr to something like: q=(aaa bbb) without the 'OR' part the phrase boost is working perfectly. 

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