lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2988) edismax does not respect pf params using non-tokenized fields
Date Wed, 28 Dec 2011 20:08:30 GMT

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

Hoss Man commented on SOLR-2988:
--------------------------------

Initial user report...
https://mail-archives.apache.org/mod_mbox/lucene-solr-user/201112.mbox/%3C1323980729630-3589763.post@n3.nabble.com%3E
                
> edismax does not respect pf params using non-tokenized fields
> -------------------------------------------------------------
>
>                 Key: SOLR-2988
>                 URL: https://issues.apache.org/jira/browse/SOLR-2988
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.5
>            Reporter: Hoss Man
>
> for reasons i don't fully understand, edismax ignores fields in the pf param if those
fields are non-tokenized.
> Consider this example *dismax* query in Solr 3.5...
> {noformat}
> http://localhost:8983/solr/select/?debugQuery=true&defType=dismax&qf=name^5+features^3&pf=features^2+cat^4&q=hard+drive
> <str name="parsedquery">
>   +((DisjunctionMaxQuery((features:hard^3.0 | name:hard^5.0))
>      DisjunctionMaxQuery((features:drive^3.0 | name:drive^5.0))
>     )~2)
>    DisjunctionMaxQuery((features:"hard drive"^2.0 | cat:hard drive^4.0))
> {noformat}
> ...compared to the equivalent *edismax* query...
> {noformat}
> http://localhost:8983/solr/select/?debugQuery=true&defType=edismax&qf=name^5+features^3&pf=features^2+cat^4&q=hard+drive
> <str name="parsedquery">
>   +((DisjunctionMaxQuery((features:hard^3.0 | name:hard^5.0))
>      DisjunctionMaxQuery((features:drive^3.0 | name:drive^5.0))
>     )~2)
>    DisjunctionMaxQuery((features:"hard drive"^2.0))
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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