[jira] [Commented] (SOLR-8721) Add Solr version to debug response

2016-02-29 Thread Marius Grama (JIRA)

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

Marius Grama commented on SOLR-8721:


[~arafalov] thanks for the confirmation.

The updated debug info looks like this now : 

{code:title=just for testing purposes}
"debug":{
"solr-spec-version":"5.5.0",
"lucene-spec-version":"5.5.0",
"lucene-match-version":"5.0.0",
   ...
}
{code}

> Add Solr version to debug response
> --
>
> Key: SOLR-8721
> URL: https://issues.apache.org/jira/browse/SOLR-8721
> Project: Solr
>  Issue Type: Improvement
>  Components: search
>Reporter: Erik Hatcher
>Assignee: Erik Hatcher
>Priority: Minor
>
> In troubleshooting customer issues, often they'll send send a Solr debug=true 
> output.  It'd be helpful to have more information, such as the Solr version 
> number, in the response.



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

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



[jira] [Commented] (SOLR-8721) Add Solr version to debug response

2016-02-29 Thread Alexandre Rafalovitch (JIRA)

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

Alexandre Rafalovitch commented on SOLR-8721:
-

I was referring to:

5.5.0


Having this different from latest version could be an interesting metric, as it 
affects what Lucene **actually** does.


> Add Solr version to debug response
> --
>
> Key: SOLR-8721
> URL: https://issues.apache.org/jira/browse/SOLR-8721
> Project: Solr
>  Issue Type: Improvement
>  Components: search
>Reporter: Erik Hatcher
>Assignee: Erik Hatcher
>Priority: Minor
>
> In troubleshooting customer issues, often they'll send send a Solr debug=true 
> output.  It'd be helpful to have more information, such as the Solr version 
> number, in the response.



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

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



[jira] [Commented] (SOLR-8721) Add Solr version to debug response

2016-02-28 Thread Marius Grama (JIRA)

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

Marius Grama commented on SOLR-8721:


[~arafalov] i've included the solr-impl-version and lucene-impl-version because 
I've seen them provided in the Solr admin dashboard.

I've removed them now and the debug info looks like this : 

{code}
"debug": {
"solr-spec-version": "5.5.0",
"lucene-spec-version": "5.5.0",
...
}
{code}


bq. On the other hand, is there a value is sending what lucene version the 
solrconfig.xml file pegs the core at?
Could you please describe in more detail what you mean by this question?

> Add Solr version to debug response
> --
>
> Key: SOLR-8721
> URL: https://issues.apache.org/jira/browse/SOLR-8721
> Project: Solr
>  Issue Type: Improvement
>  Components: search
>Reporter: Erik Hatcher
>Assignee: Erik Hatcher
>Priority: Minor
>
> In troubleshooting customer issues, often they'll send send a Solr debug=true 
> output.  It'd be helpful to have more information, such as the Solr version 
> number, in the response.



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

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



[jira] [Commented] (SOLR-8721) Add Solr version to debug response

2016-02-27 Thread Alexandre Rafalovitch (JIRA)

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

Alexandre Rafalovitch commented on SOLR-8721:
-

Is there a serious value in the impl-version string?

On the other hand, is there a value is sending what lucene version the 
solrconfig.xml file pegs the core at?

> Add Solr version to debug response
> --
>
> Key: SOLR-8721
> URL: https://issues.apache.org/jira/browse/SOLR-8721
> Project: Solr
>  Issue Type: Improvement
>  Components: search
>Reporter: Erik Hatcher
>Assignee: Erik Hatcher
>Priority: Minor
>
> In troubleshooting customer issues, often they'll send send a Solr debug=true 
> output.  It'd be helpful to have more information, such as the Solr version 
> number, in the response.



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

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



[jira] [Commented] (SOLR-8721) Add Solr version to debug response

2016-02-27 Thread Marius Grama (JIRA)

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

Marius Grama commented on SOLR-8721:


I've created a pull request for this ticket.

The extra debug output coming with this change looks like this : 

{code:json}
"debug": {
"solr-spec-version": "5.5.0",
"solr-impl-version": "5.5.0-SNAPSHOT 
4e1c381b32b7b7630db5f1e24a3a8ab62605ced1 - marius - 2016-02-27 16:11:33",
"lucene-spec-version": "5.5.0",
"lucene-impl-version": "5.5.0-SNAPSHOT 
c7214a2ba5f96492e5c4cd6a558734217afe5089 - marius - 2016-02-26 20:59:35",

}
{code}


> Add Solr version to debug response
> --
>
> Key: SOLR-8721
> URL: https://issues.apache.org/jira/browse/SOLR-8721
> Project: Solr
>  Issue Type: Improvement
>  Components: search
>Reporter: Erik Hatcher
>Assignee: Erik Hatcher
>Priority: Minor
>
> In troubleshooting customer issues, often they'll send send a Solr debug=true 
> output.  It'd be helpful to have more information, such as the Solr version 
> number, in the response.



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

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



[jira] [Commented] (SOLR-8721) Add Solr version to debug response

2016-02-27 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on SOLR-8721:
--

Github user mariusneo commented on a diff in the pull request:

https://github.com/apache/lucene-solr/pull/16#discussion_r54334700
  
--- Diff: 
solr/core/src/java/org/apache/solr/handler/component/DebugComponent.java ---
@@ -177,7 +176,7 @@ public void modifyRequest(ResponseBuilder rb, 
SearchComponent who, ShardRequest
 }
   }
 } else {
-  sreq.params.set(CommonParams.DEBUG_QUERY, "false");
+  sreq.params.set(CommonParams.DEBUG_QUERY, rb.isDebugAll() ? "true" : 
"false");
--- End diff --

This may look cumbersome, but it is needed in order to be able pass the 
"debugQuery" parameter to the shard in case that the query is distributed and 
doesn't return any results.


> Add Solr version to debug response
> --
>
> Key: SOLR-8721
> URL: https://issues.apache.org/jira/browse/SOLR-8721
> Project: Solr
>  Issue Type: Improvement
>  Components: search
>Reporter: Erik Hatcher
>Assignee: Erik Hatcher
>Priority: Minor
>
> In troubleshooting customer issues, often they'll send send a Solr debug=true 
> output.  It'd be helpful to have more information, such as the Solr version 
> number, in the response.



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

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



[jira] [Commented] (SOLR-8721) Add Solr version to debug response

2016-02-27 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on SOLR-8721:
--

GitHub user mariusneo opened a pull request:

https://github.com/apache/lucene-solr/pull/16

SOLR-8721 Added solr & lucene version to the response for debug reasons

Added solr & lucene version to the response of the query handlers for debug 
purpsoses.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mariusneo/lucene-solr feature/SOLR-8721

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/lucene-solr/pull/16.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #16


commit 3c4ca8b499c6df68d6c1b1d5fd1300565024ca4d
Author: Marius 
Date:   2016-02-27T15:23:24Z

SOLR-8721 Added solr & lucene version to the response of the query handlers 
for debug purpsoses.




> Add Solr version to debug response
> --
>
> Key: SOLR-8721
> URL: https://issues.apache.org/jira/browse/SOLR-8721
> Project: Solr
>  Issue Type: Improvement
>  Components: search
>Reporter: Erik Hatcher
>Assignee: Erik Hatcher
>Priority: Minor
>
> In troubleshooting customer issues, often they'll send send a Solr debug=true 
> output.  It'd be helpful to have more information, such as the Solr version 
> number, in the response.



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

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