mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
add getTerms for uid filter
This commit is contained in:
parent
0c7690d105
commit
0f47518752
@ -57,6 +57,10 @@ public class UidFilter extends Filter {
|
||||
}
|
||||
}
|
||||
|
||||
public Term[] getTerms() {
|
||||
return this.uids;
|
||||
}
|
||||
|
||||
// TODO Optimizations
|
||||
// - If we have a single id, we can create a SingleIdDocIdSet to save on mem
|
||||
// - We can use sorted int array DocIdSet to reserve memory compared to OpenBitSet in some cases
|
||||
|
Loading…
x
Reference in New Issue
Block a user