lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilayaraja <ilay....@gmail.com>
Subject Re: Learning to Rank (LTR) with grouping
Date Wed, 02 May 2018 16:46:25 GMT
Figured out that offset is used as part of the grouping patch which I applied
(SOLR-8776) :
solr/core/src/java/org/apache/solr/handler/component/QueryComponent.java
+      if (query instanceof AbstractReRankQuery){
+        topNGroups = cmd.getOffset() +
((AbstractReRankQuery)query).getReRankDocs();
+      } else {
+        topNGroups = cmd.getOffset() + cmd.getLen();






-----
--Ilay
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Mime
View raw message