You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (Created) (JIRA)" <ji...@apache.org> on 2011/12/28 21:06:30 UTC
[jira] [Created] (SOLR-2988) edismax does not respect pf params
using non-tokenized fields
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
[jira] [Commented] (SOLR-2988) edismax does not respect pf params
using non-tokenized fields
Posted by "Jan Høydahl (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176861#comment-13176861 ]
Jan Høydahl commented on SOLR-2988:
-----------------------------------
I've been puzzled by this myself, but thought that it was because a non-tokenized string is per definition one token and thus not a "phrase" but a word :) But since this worked with "dismax" it now looks more like a bug?
> 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
[jira] [Commented] (SOLR-2988) edismax does not respect pf params
using non-tokenized fields
Posted by "Hoss Man (Commented) (JIRA)" <ji...@apache.org>.
[ 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