Query: match_all query (also in query_string: *:*) is very slow

This commit is contained in:
kimchy 2010-10-26 11:04:55 +02:00
parent 5966d2005d
commit 529303c533
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public class AllDocSet extends DocSet {
if (++doc < maxDoc) {
return doc;
}
return NO_MORE_DOCS;
return doc = NO_MORE_DOCS;
}
@Override public int advance(int target) throws IOException {
@ -74,7 +74,7 @@ public class AllDocSet extends DocSet {
if (doc < maxDoc) {
return doc;
}
return NO_MORE_DOCS;
return doc = NO_MORE_DOCS;
}
}
}