Wow!! Thanks dude... that works... I have spent almost a day figuring out the
issue... I appreciate it!!
Erick Erickson wrote:
>
> Your problem is probably, that by default, Lucene stops after
> 10,000 terms. See IndexWriter.SetMaxFieldLength
>
> Best
> Erick
>
> On Nov 15, 2007 1:42 PM, Siris
Your problem is probably, that by default, Lucene stops after
10,000 terms. See IndexWriter.SetMaxFieldLength
Best
Erick
On Nov 15, 2007 1:42 PM, Sirish <[EMAIL PROTECTED]> wrote:
>
> The following is my code snippet for indexing the text:
>
> document.add(Field.Text(IFIELD_TEXT, billMeasureDoc.
On Feb 18, 2006, at 6:11 AM, revati joshi wrote:
i'm facing problem while indexing the files .There r some
files which r not in normal ASCII format having ASCII characters
but r in some arabic,french format which i don't want to index
those files.
Because of these files my indexing
Samuel,
IndexWriter should be opened once and keep it open
until all documents are added to the writer, then close the writer.
modified sample code:
final IndexWriter writer = new IndexWriter(indexLocation, new
StandardAnalyzer(),true);
for (Iterator iter = someData.iterator(); iter.hasNext();