From 86f60d9ea25b751a3e94a98a8f6cb8c151efcf6d Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 14 Jun 2018 21:22:22 -0400 Subject: [PATCH] SEARCH-902: WIP passing unit tests --- .../main/java/org/alfresco/solr/SolrInformationServer.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java b/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java index 47108aa8d..123e20ed0 100644 --- a/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java +++ b/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java @@ -4185,10 +4185,13 @@ public class SolrInformationServer implements InformationServer public void doSetNextReader(LeafReaderContext context) throws IOException { - super.doSetNextReader(context); currentLongs = context.reader().getNumericDocValues(FIELD_INTXID); } + public boolean needsScores() { + return false; + } + public void collect(int doc) throws IOException { long txnId = currentLongs.get(doc);