lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bowen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3569) distributed debug is empty when no match to query
Date Sun, 09 Sep 2012 02:42:08 GMT

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

David Bowen commented on SOLR-3569:
-----------------------------------

With the patch, the debug output in the distributed case now looks like this:

[http://localhost:8983/solr/select?q=foo_s:basdfasd&debugQuery=true&wt=json&indent=true&shards=localhost:8983/solr]
{noformat}
{
  "responseHeader":{
    "status":0,
    "QTime":5,
    "params":{
      "debugQuery":"true",
      "shards":"localhost:8983/solr",
      "indent":"true",
      "wt":"json",
      "q":"foo_s:basdfasd"}},
  "response":{"numFound":0,"start":0,"maxScore":0.0,"docs":[]
  },
  "debug":{
    "rawquerystring":"foo_s:basdfasd",
    "querystring":"foo_s:basdfasd",
    "parsedquery":"foo_s:basdfasd",
    "parsedquery_toString":"foo_s:basdfasd",
    "QParser":"LuceneQParser",
    "explain":{}}}
{noformat}

so it is missing any timing information, but that does not seem to be useful anyway in the
case of no results.


                
> distributed debug is empty when no match to query
> -------------------------------------------------
>
>                 Key: SOLR-3569
>                 URL: https://issues.apache.org/jira/browse/SOLR-3569
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Priority: Minor
>         Attachments: SOLR-3569.patch
>
>
> If a query matches 0 documents, the "debug" information for a distributed query will
be empty - ie: no information on timing, or (most importantly for many people) query parsing.

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message