Re: Document Order in IndexWriter.addIndexes

2010-06-30 Thread Apoorv Sharma
This implies there is no way to merge two parallel indexes(based on parallel reader) to get a new parallel index. Correct me if I am wrong. On Tue, Jun 29, 2010 at 11:24 PM, Andrzej Bialecki a...@getopt.org wrote: On 2010-06-30 05:12, Apoorv Sharma wrote: while calling addindexes

Document Order in IndexWriter.addIndexes

2010-06-29 Thread Apoorv Sharma
while calling addindexes or addindexes with no optimize can any gurantee be given about the document order in the new documents given that the order of directories/indexreader is fixed. So is it that ith document coming from jth indexreader will always have some x(i,j) position in the final

Re: Scanning docs at index time

2010-02-22 Thread Apoorv Sharma
I don't know of classes which will be suitable but if they are ordered queries a simple code could easily be written. On Mon, Feb 22, 2010 at 9:59 PM, Nigel nigelspl...@gmail.com wrote: I'd like to scan documents as they're being indexed, to find out immediately if any of them match certain

Counting entries in an index

2010-02-20 Thread Apoorv Sharma
Hello, I am trying to count the total of number of posting entries for terms having a given prefix in an index. Also count the number of such terms in the index. The following is the code I am using for that. The problem is the result is not as expected. Can you point out if what am I doing