lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Parvesh Garg <>
Subject Facet counts and RankQuery
Date Tue, 21 Oct 2014 07:09:50 GMT
Hi All,

We have written a RankQuery plugin with a custom TopDocsCollector to
suppress documents below a certain threshold w.r.t. to the maxScore for
that query. It works fine and is reflected well with numFound and start

Our problem lies with facet counts. Even though the docs numFound gives a
very less number, the facet counts are still coming from unsuppressed query

E.g. in a test with a threshold of 20% , we reduced the totalDocs from
46030 to 6080 but the top facet count on a field is still 20500

The query parameter we are using looks like rq={!threshold value=0.2}

Is there a way propagate the suppression of results to FacetsComponent as
well? Can we send the same rq to FacetsComponent ?

Parvesh Garg,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message