You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/10/21 21:27:27 UTC

[jira] [Commented] (SOLR-8164) Debug "parsedquery" output no longer handles boosts correctly

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

ASF subversion and git services commented on SOLR-8164:
-------------------------------------------------------

Commit 1709903 from [~yonik@apache.org] in branch 'dev/trunk'
[ https://svn.apache.org/r1709903 ]

SOLR-8164: fix debug query string repr

> Debug "parsedquery" output no longer handles boosts correctly
> -------------------------------------------------------------
>
>                 Key: SOLR-8164
>                 URL: https://issues.apache.org/jira/browse/SOLR-8164
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>            Priority: Minor
>         Attachments: SOLR-8164.patch
>
>
> Since Lucene's removal of boosts on every query, Solr's debug output has been somewhat broken.
> {code}
> http://localhost:8983/solr/techproducts/query?debugQuery=true&q=(foo_s:a^3)^4
> shows    "parsedquery":"BoostQuery(foo_s:a^3.0)",
> and
> http://localhost:8983/solr/techproducts/query?debugQuery=true&q=foo_s:a^=2
> shows    "parsedquery":"ConstantScore(foo_s:a)",
> {code}
> Since boosts are now explicit (i.e. BoostQuery), we should probably just move to always showing boosts instead of having logic that tries to be smart about it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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