Query: match_all query (also in query_string: *:*) is very slow
This commit is contained in:
parent
5966d2005d
commit
529303c533
|
@ -66,7 +66,7 @@ public class AllDocSet extends DocSet {
|
||||||
if (++doc < maxDoc) {
|
if (++doc < maxDoc) {
|
||||||
return doc;
|
return doc;
|
||||||
}
|
}
|
||||||
return NO_MORE_DOCS;
|
return doc = NO_MORE_DOCS;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public int advance(int target) throws IOException {
|
@Override public int advance(int target) throws IOException {
|
||||||
|
@ -74,7 +74,7 @@ public class AllDocSet extends DocSet {
|
||||||
if (doc < maxDoc) {
|
if (doc < maxDoc) {
|
||||||
return doc;
|
return doc;
|
||||||
}
|
}
|
||||||
return NO_MORE_DOCS;
|
return doc = NO_MORE_DOCS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue