Re: maxDoc/numDocs int fields

2014-03-21 Thread Artem Gayardo-Matrosov
ssage- From: Artem Gayardo-Matrosov > Sent: Friday, March 21, 2014 12:41 PM > To: java-user@lucene.apache.org > Subject: Re: maxDoc/numDocs int fields > > > Hi Oli, > > Thanks for your reply, > > I thought about this, but it feels like making a crude, inefficient >

Re: maxDoc/numDocs int fields

2014-03-21 Thread Jack Krupansky
nch that literally does that switch now, but otherwise, that's the limit for now. -- Jack Krupansky -Original Message- From: Artem Gayardo-Matrosov Sent: Friday, March 21, 2014 12:41 PM To: java-user@lucene.apache.org Subject: Re: maxDoc/numDocs int fields Hi Oli, Thanks for y

Re: maxDoc/numDocs int fields

2014-03-21 Thread Tri Cao
I ran into this issue before and after some digging, I don't think there is an easy way to accommodate long IDs in Lucene. So I decided to go with sharding documents into multiple indexes. It turned out to be a good decision in my case because I would have to shard the index anyway for performance

Re: maxDoc/numDocs int fields

2014-03-21 Thread Artem Gayardo-Matrosov
Hi Oli, Thanks for your reply, I thought about this, but it feels like making a crude, inefficient implementation of what's already in lucene -- CompositeReader, isn't it? It would involve writing my CompositeCompositeReader which would forward the requests to the underlying CompositeReader... I

RE: maxDoc/numDocs int fields

2014-03-21 Thread Oliver Christ
Can you split your corpus across multiple Lucene instances? Cheers, Oli -Original Message- From: Artem Gayardo-Matrosov [mailto:ar...@gayardo.com] Sent: Friday, March 21, 2014 12:29 PM To: java-user@lucene.apache.org Subject: maxDoc/numDocs int fields Hi all, I am using lucene to index