@@ -89,7 +89,7 @@ public ImmutableSortedMap<DocumentKey, Document> getDocumentsMatchingQuery(
89
89
return super .getDocumentsMatchingQuery (query , offset );
90
90
}
91
91
};
92
- queryEngine .initialize (localDocuments , indexManager , false );
92
+ queryEngine .initialize (localDocuments , indexManager );
93
93
}
94
94
95
95
/** Adds the provided documents to the remote document cache. */
@@ -232,7 +232,7 @@ public void testCombinesIndexedWithNonIndexedResults() throws Exception {
232
232
TimeUnit .MILLISECONDS .convert (
233
233
(beforeAutoEnd - beforeAutoStart ), TimeUnit .NANOSECONDS );
234
234
totalBeforeIndex += (beforeAutoEnd - beforeAutoStart );
235
- totalDocumentCount += counterWithoutIndex .fullScanCount ;
235
+ totalDocumentCount += counterWithoutIndex .getDocumentCount () ;
236
236
assertEquals (portion * totalSetCount , results .size ());
237
237
238
238
QueryContext counterWithIndex = new QueryContext ();
@@ -254,7 +254,7 @@ public void testCombinesIndexedWithNonIndexedResults() throws Exception {
254
254
+ numOfFields
255
255
+ " fields.\n "
256
256
+ "Weight result for without auto indexing is "
257
- + without * counterWithoutIndex .fullScanCount
257
+ + without * counterWithoutIndex .getDocumentCount ()
258
258
+ ". And weight result for auto indexing is "
259
259
+ with * results .size ());
260
260
}
0 commit comments