Re: Getting all values for a specific dimension for SortedSetDocValues per document

2022-07-01 Thread Harald Braumann
Hi! On 01.07.22 00:46, Greg Miller wrote: Have you considered taxonomy faceting for your use-case? Because the taxonomy structure is maintained in a separate index, it's (relatively) trivial to iterate all direct child ordinals of a given dimension. The cost of mapping to a global ordinal space

Re: Getting all values for a specific dimension for SortedSetDocValues per document

2022-07-01 Thread Greg Miller
To address the last topic (building up ordinal ranges per-segment), what I'm thinking is that you'd iterate all unique ordinals in the SSDV field and "memorize" the ordinal range for each dimension up-front, but on a per-segment basis. This would be very similar to what DefaultSortedSetDocValuesRea

Re: Getting all values for a specific dimension for SortedSetDocValues per document

2022-07-01 Thread Harald Braumann
Hi! Thanks a lot for your help. I will try both of you suggestions (taxo index and per-segment ord ranges). Thanks for clarifying, that I have to iterate the ords. I wasn't sure, if I didn't just overlook something obvious. Like some way to do an advanceExact on ords. Regards harry On 01.

Re: Replicator PrimaryNode waits forever for remotes to close

2022-07-01 Thread Steven Schlansker
> On Jun 30, 2022, at 10:40 AM, Michael McCandless > wrote: > > +1 to provide a timeout, or, to simply fix close to aggressively close > regardless of what the replicas are doing? Yes, aggressively closing would be great for us - we already expect the primary can and will crash, so an aggr