You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alessandro Benedetti (JIRA)" <ji...@apache.org> on 2016/12/12 10:51:58 UTC

[jira] [Created] (SOLR-9851) Introduce Interesting Terms Json Facet

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org