Is there a maximum size for a reader?

2013-04-19 Thread Liz Sommers
Lucene 4.2.1 I am moving my application from 3.6 to 4.2.1. At the moment I have a reader for each of my shards (100 shards each about 5 million records). I am considering using a MultiReader for all the shards. The application gets about 2 million new records a week. Right now I don't have a f

RE: Is there a maximum size for a reader?

2013-04-19 Thread Uwe Schindler
A MultiReader is only limited by the Integer.MAX_VALUE limitation for the number of documents (because IndexReader.document() only uses int as doc-id). MultiReader has no logic at all, it is just a "container" of other index readers. The search runs on the leaves of the IndexReader (IndexReader

SloppyPhraseScorer behavior

2013-04-19 Thread Ravikumar Govindarajan
When writing a custom codec, I encountered an issue in SloppyPhraseScorer. I am using lucene-4.2 GA. public int nextDoc() { return advance(max.doc) } This in-turn calls my DocsAndPositionEnum.advance(int target). Intially this seems to call with advance(-1). It's kind of unsettling to see an i

Re: SloppyPhraseScorer behavior

2013-04-19 Thread Robert Muir
Its a bug: its already fixed for 4.3 (coming soon): https://issues.apache.org/jira/browse/LUCENE-4888 On Fri, Apr 19, 2013 at 1:09 PM, Ravikumar Govindarajan < ravikumar.govindara...@gmail.com> wrote: > When writing a custom codec, I encountered an issue in SloppyPhraseScorer. > I am using lucen

Re: SloppyPhraseScorer behavior

2013-04-19 Thread Ravikumar Govindarajan
Thanks Robert for the quick response. Saved my day!!! -- Ravi On Fri, Apr 19, 2013 at 10:45 PM, Robert Muir wrote: > Its a bug: its already fixed for 4.3 (coming soon): > > https://issues.apache.org/jira/browse/LUCENE-4888 > > On Fri, Apr 19, 2013 at 1:09 PM, Ravikumar Govindarajan < > ravikum

requesting to be added to the ContributorsGroup wiki page.

2013-04-19 Thread Lukas Fedorowicz
Please add the user "MartinSchmidt" to the ContributorsGroup wiki page. -- --- lufed IT GmbH Pirckheimerstr. 36 90408 Nürnberg Tel +49 911 49 52 582 Fax +49 911 49 52 582 9 eMail l.fedorow...@lufed-it.de Web www.lufed-it.de Registerg

Re: requesting to be added to the ContributorsGroup wiki page.

2013-04-19 Thread Steve Rowe
Lukas, this seems weird to me: why are you, Lukas Fedorowicz, asking for permission for "MartinSchmidt" to edit the wiki? Why not "LukasFedorowicz"? Steve On Apr 19, 2013, at 4:15 AM, Lukas Fedorowicz wrote: > Please add the user "MartinSchmidt" to the ContributorsGroup >