On Tue, Oct 26, 2021 at 11:24 AM Robert Muir <[email protected]> wrote: > > On Tue, Oct 26, 2021 at 10:58 AM Alan Woodward <[email protected]> wrote: > > > > We have SortedSetDocValuesField.newSlowRangeQuery() which does something > > close to what you want here, I think. > > > > See also DocValuesRewriteMethod which might be useful, at least as a > start. You'd have to express the "SetQuery" as a MultiTermQuery for > that to work, but It would be more efficient than a disjunction of > slow-exact-queries.
Maybe that's the issue here? If TermInSetQuery extended MultiTermQuery, then this would be trivial, you wouldn't have to write any code to use the DV ordinals instead of the terms+postings, you'd just call .setRewriteMethod(). Could/should TermInSetQuery be refactored to extend multitermquery? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
