Alessandro Benedetti created SOLR-9851:
------------------------------------------
Summary: Introduce Interesting Terms Json Facet
Key: SOLR-9851
URL: https://issues.apache.org/jira/browse/SOLR-9851
Project: Solr
Issue Type: New Feature
Security Level: Public (Default Security Level. Issues are Public)
Components: Facet Module, faceting
Reporter: Alessandro Benedetti
After playing a bit with the Lucene MLT I noticed a couple of methods were
there for calculating the interesting terms ( from the seed document) .
I think this can be extended to a supported calculation on the search results.
Specifically I am thinking to initially add a new type of Json Facet (
InterestingTerms).
This new aggregation will calculate the interesting terms from the search
results given :
- a field
- a minCount ( we ignore the score calculus for terms occurring less than this
threshold in the search results)
- possibly all the other supported params for faceting
Naive Implementation :
Score for each term can be calculated as :
count * IDF
Observations
Taking a look around the web, I see that a similar type of aggregation has
already been included in Elastic Search time ago ( see nice blog from Mark at
https://www.elastic.co/blog/significant-terms-aggregation )
Any reason we don't have anything similar yet ?
I will provide better design and more information soon.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]