You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2016/04/29 17:48:13 UTC
[jira] [Commented] (SOLR-9026) Design Facet Telemetry for non-JSON
field facet
[ https://issues.apache.org/jira/browse/SOLR-9026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15264221#comment-15264221 ]
Yonik Seeley commented on SOLR-9026:
------------------------------------
Looking good... a couple of quick points:
- "facet-trace" is the same name used for JSON Facet API, right? If both faceting components are used at the same time, does this work?
- it seems like one would really want elapsed time per facet.field (i.e per-sub-facet)?
- instead of changing "long elapse" to "Long elapse", perhaps just use "-1" to detect if it's been set?
- "fdebugCurrentTermCount" is oddly named... perhaps just "fdebug"?
> Design Facet Telemetry for non-JSON field facet
> -----------------------------------------------
>
> Key: SOLR-9026
> URL: https://issues.apache.org/jira/browse/SOLR-9026
> Project: Solr
> Issue Type: Sub-task
> Components: Facet Module
> Reporter: Michael Sun
> Fix For: master
>
> Attachments: SOLR-9026.patch
>
>
> Non-JSON facet is widely used and telemetry is helpful is diagnosing expensive queries. As first step, the JIRA is to design telemetry for field facet.
> Example: (using films)
> {code}
> $curl 'http://localhost:8228/solr/films/select?debugQuery=true&facet.field=genre&facet.field=directed_by&facet=true&indent=on&q=*:*&wt=json'
> ...
> "facet-trace":{
> "elapse":1,
> "sub-facet":[{
> "processor":"SimpleFacets",
> "elapse":1,
> "action":"field facet",
> "maxThreads":0,
> "sub-facet":[{
> "method":"FC",
> "inputDocSetSize":1100,
> "field":"genre",
> "numBuckets":213},
> {
> "method":"FC",
> "inputDocSetSize":1100,
> "field":"directed_by",
> "numBuckets":1053}]}]},
> ...
> {code}
--
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