mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
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) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user