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

Ahmet Arslan commented on SOLR-4362:
------------------------------------

org.apache.solr.search.ExtendedDismaxQParser#splitIntoClauses("\"phrase 
query\"~10 term") return 3 Clauses:
{noformat}
 field = null rawField = null isPhrase = true val = phrase query raw = "phrase 
query" 
 field = null rawField = null isPhrase = false val = \~10 raw = ~10 
 field = null rawField = null isPhrase = false val = term raw = term
{noformat}

And mainUserQuery becomes : "phrase query" ~10 term 
                
> edismax, phrase query with slop, pf parameter
> ---------------------------------------------
>
>                 Key: SOLR-4362
>                 URL: https://issues.apache.org/jira/browse/SOLR-4362
>             Project: Solr
>          Issue Type: Bug
>          Components: query parsers
>    Affects Versions: 4.1
>            Reporter: Ahmet Arslan
>              Labels: edismax, pf
>         Attachments: SOLR-4362.patch
>
>
> When sloppy phrase query (plus additional term) is used with edismax, slop 
> value is search against fields that are supplied with pf parameter.
> Example : With this url &q="phrase query"~10 term&qf=text&pf=text document 
> having "10 term" in its text field is boosted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to