Re: Indexing Problem

2007-11-15 Thread Sirish
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

Re: Indexing Problem

2007-11-15 Thread Erick Erickson
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.

Re: Indexing problem

2006-02-18 Thread Erik Hatcher
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

RE: Indexing problem - empty index files!

2005-10-24 Thread Koji Sekiguchi
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();