How to detect index in use

2011-12-12 Thread Rui Wang
Hi All, I am just wondering given a existing index folder, is there a way of detecting whether this index is in use? Either by IndexReader or IndexWriter, What about on NFS file system? Is there any difference? Thank you for the help in advance, Rui Wang

Re: Use multiple lucene indices

2011-12-07 Thread Rui Wang
, I measured the index load time plus querying and getting the result back. It takes around 350 milliseconds. Also the memory footprint is around 1.5 M. Many thanks, Rui Wang On 7 Dec 2011, at 07:46, Danil Ε’ORIN wrote: 10B documents is a lot of data. Index/file won't scale: you

Re: Use multiple lucene indices

2011-12-06 Thread Rui Wang
Hi Guys, Thank you very much for your answers. I will do some profiling on memory usage, but is there any documentation on how Lucene uses/allocates the memory? Best wishes, Rui Wang On 6 Dec 2011, at 06:11, KARTHIK SHIVAKUMAR wrote: hi would the memory usage go through the roof

Re: Use multiple lucene indices

2011-12-06 Thread Rui Wang
we need to update indices on a regular basis, hence the reason why we were thinking of generating one index per file. Am I right to say that you would definitely not go for one index per file solution? is it also due to memory consumption? Many thanks, Rui Wang On 6 Dec 2011, at 10:05, Danil

Use multiple lucene indices

2011-12-05 Thread Rui Wang
the roof? I couldn't find any document on how Lucene use allocate memory. Thank you very much for your help. Many thanks, Rui Wang - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail