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 (JIRA)" <ji...@apache.org> on 2012/06/22 00:16:42 UTC

[jira] [Commented] (SOLR-3569) distributed debug is empty when no match to query

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

Hoss Man commented on SOLR-3569:
--------------------------------

discovered this while helping someone on IRC.  trivial to reproduce using the example, compare...

http://localhost:8983/solr/select?q=foo_s:basdfasd&debugQuery=true&wt=json&indent=true&shards=localhost:8983/solr

{noformat}
{
  "responseHeader":{
    "status":0,
    "QTime":11,
    "params":{
      "debugQuery":"true",
      "shards":"localhost:8983/solr",
      "indent":"true",
      "wt":"json",
      "q":"foo_s:basdfasd"}},
  "response":{"numFound":0,"start":0,"docs":[]
  },
  "debug":{
    "explain":{}}}
{noformat}

...with the non-distrib version...

http://localhost:8983/solr/select?q=foo_s:basdfasd&debugQuery=true&wt=json&indent=true

{noformat}
{
  "responseHeader":{
    "status":0,
    "QTime":0,
    "params":{
      "debugQuery":"true",
      "indent":"true",
      "wt":"json",
      "q":"foo_s:basdfasd"}},
  "response":{"numFound":0,"start":0,"docs":[]
  },
  "debug":{
    "rawquerystring":"foo_s:basdfasd",
    "querystring":"foo_s:basdfasd",
    "parsedquery":"foo_s:basdfasd",
    "parsedquery_toString":"foo_s:basdfasd",
    "explain":{},
    "QParser":"LuceneQParser",
    "timing":{
      "time":0.0,
      "prepare":{
        "time":0.0,
        "org.apache.solr.handler.component.QueryComponent":{
          "time":0.0},
        "org.apache.solr.handler.component.FacetComponent":{
          "time":0.0},
        "org.apache.solr.handler.component.MoreLikeThisComponent":{
          "time":0.0},
        "org.apache.solr.handler.component.HighlightComponent":{
          "time":0.0},
        "org.apache.solr.handler.component.StatsComponent":{
          "time":0.0},
        "org.apache.solr.handler.component.DebugComponent":{
          "time":0.0}},
      "process":{
        "time":0.0,
        "org.apache.solr.handler.component.QueryComponent":{
          "time":0.0},
        "org.apache.solr.handler.component.FacetComponent":{
          "time":0.0},
        "org.apache.solr.handler.component.MoreLikeThisComponent":{
          "time":0.0},
        "org.apache.solr.handler.component.HighlightComponent":{
          "time":0.0},
        "org.apache.solr.handler.component.StatsComponent":{
          "time":0.0},
        "org.apache.solr.handler.component.DebugComponent":{
          "time":0.0}}}}}
{noformat}
                
> 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
>
> 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: 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