@@ -89,7 +89,7 @@ public ImmutableSortedMap<DocumentKey, Document> getDocumentsMatchingQuery(
8989 return super .getDocumentsMatchingQuery (query , offset );
9090 }
9191 };
92- queryEngine .initialize (localDocuments , indexManager , false );
92+ queryEngine .initialize (localDocuments , indexManager );
9393 }
9494
9595 /** Adds the provided documents to the remote document cache. */
@@ -232,7 +232,7 @@ public void testCombinesIndexedWithNonIndexedResults() throws Exception {
232232 TimeUnit .MILLISECONDS .convert (
233233 (beforeAutoEnd - beforeAutoStart ), TimeUnit .NANOSECONDS );
234234 totalBeforeIndex += (beforeAutoEnd - beforeAutoStart );
235- totalDocumentCount += counterWithoutIndex .fullScanCount ;
235+ totalDocumentCount += counterWithoutIndex .getDocumentCount () ;
236236 assertEquals (portion * totalSetCount , results .size ());
237237
238238 QueryContext counterWithIndex = new QueryContext ();
@@ -254,7 +254,7 @@ public void testCombinesIndexedWithNonIndexedResults() throws Exception {
254254 + numOfFields
255255 + " fields.\n "
256256 + "Weight result for without auto indexing is "
257- + without * counterWithoutIndex .fullScanCount
257+ + without * counterWithoutIndex .getDocumentCount ()
258258 + ". And weight result for auto indexing is "
259259 + with * results .size ());
260260 }
0 commit comments