Excessive reads while doing commit in lucene

2024-09-04 Thread Gopal Sharma
lyzer); writter = new IndexWriter(indexDirectory, indexWriterConfig); Can someone please help to understand why such huge reads are happening? and how to mitigate such issues. Thanks in advance Gopal Sharma

Lucene Index Writer in a distributed system

2023-10-19 Thread Gopal Sharma
Hello Team, I am new to Lucene and want to use Lucene in a distributed system to write in a Amazon EFS index. As per my understanding, the index writer for a particular index needs to be opened by 1 server only. Is there a way we can achieved this in distributed system to write parallelly in Luce

Re: Need help on aggregation of nested documents

2021-11-16 Thread Gopal Sharma
reader.document(int docID) and then parse it which would be again the same issue i pointed out. Thanks Gopal Sharma On Tue, Nov 16, 2021 at 1:41 PM Adrien Grand wrote: > Indeed you shouldn't load all hits, you should register a > org.apache.lucene.search.Collector that will aggregate

Re: Need help on aggregation of nested documents

2021-11-15 Thread Gopal Sharma
n and then finally doing the aggregates. Is there any other way around this? Thanks Gopal Sharma On Mon, Nov 15, 2021 at 10:36 PM Adrien Grand wrote: > It's not straightforward as we don't provide high-level tooling to do this. > You need to use the BitSetPro

Need help on aggregation of nested documents

2021-11-14 Thread Gopal Sharma
and have done transactions worth more than 500$ between two date ranges. The queries can go deeper than this. Thanks in advance. Gopal Sharma