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

Noble Paul commented on SOLR-1101:
----------------------------------

bq.is that what you had in mind?

Yes. The understanding is correct.  Just that the detailed stats may be 
rendered by a separate jsp say extrastats.jsp?obj=foo&detail=name

The XSL based rendering is a problem for the current stats.jsp . XSL is too 
cumbersome for any advanced UI

The default stats.jsp can provide links with this information so that users can 
navigate from there and the current stats.jsp can be a entry point for further 
drill down. But it should also be possible to hit the extrastats.jsp directly 
which can just provide the links to all the objects with extra statistics

bq.Another thing to consider is that stats has always displayed the toString() 
of the values in the getStatistics() NamedList 

The concern here is that, the extra stats will be like mini apps which will 
give options to view and mine  tons of data, 
eg:
* contents of my queryResultCache
** hits for some items etc
* all the queries which took more than 100 ms
** or the ones where this 'fq' is appplied 
*etc etc

These things would need features like faceted drill down, pagination etc. A 
simple string may not be quite sufficient





> expose extra statistics like slow queries 
> ------------------------------------------
>
>                 Key: SOLR-1101
>                 URL: https://issues.apache.org/jira/browse/SOLR-1101
>             Project: Solr
>          Issue Type: New Feature
>          Components: web gui
>            Reporter: Noble Paul
>             Fix For: 1.5
>
>
> Solr Objects may want to expose extra information for diagnostics etc. These 
> information can be large and we may not wish to show it in the stats page 
> which can make it unwieldly. I propose an extension of the stats itself which 
> can be shown separately. 
> I wish to implement slow queries as a part of this.  There is a new interface 
> which can be implemented by components
> {code:java}
> public interface StatsDetails {
> public interface StatsDetails {
>   /**The details info is a Map of details name versus description. The 
> details name must
>    * return the details when the getDetails() method is invoked on the same 
> object.
>    * @return a map of details name vs the description. the description may be 
> used in a link text
>    */
>   public Map<String ,String> getDetailsInfo();
>   /**The details key should be known for this Object . 
>    * This key will may be obj=tained by invoking getDetailsInfo() 
>    * 
>    * @param detailsCommand
>    * @return
>    */
>   public NamedList getDetails(String detailsCommand);
> }
> {code}
> The stats.jsp can be enhanced to show these extra links .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to