mikemccand / stargazers-migration-test

Testing Lucene's Jira -> GitHub issues migration
0 stars 0 forks source link

Query Metadata Aggregator [LUCENE-8919] #916

Open mikemccand opened 5 years ago

mikemccand commented 5 years ago

It would be good if there was a mechanism to allow aggregation of metadata for queries (eg, number of clauses, types of clauses, terms involved etc). This is particularly useful for complex queries with multiple levels of nesting and a high degree of branching. This should help debug query performance issues and draw patterns in case a query is misbehaving. With the QueryVisitor being present, this should be doable.


Legacy Jira details

LUCENE-8919 by Atri Sharma (@atris) on Jul 15 2019