Hey John,
My understanding is that if you add a field with the same name as a
previous field added, you will be overwriting the value stored in the
document.
So if you add:
doc.add(Field.Text("sequence", "1"));
doc.add(Field.Text("sequence", "2"));
doc.add(Field.Text("sequence", "3"));
Af
Maybe too general a question, but is there anything about creating an
IndexSearcher( directory) object that would make the instantiation really
slow?
I have one index where the instantiation is very fast, to the point where I
don't need to do any pooling. A new index I have created, takes a very
9:35 AM
To: java-user@lucene.apache.org
Subject: RE: IndexSearcher
This doesn't really address your question, but...
Once you have the single indexsearcher, do you need any others? Could
your app just use the single instance?
-Original Message-
From: Gus Kormeier [mailto:[EMAIL P
Thanks Hoss,
I did figure out that I was putting about 400 stored fields per
document into my new index; more than my prior indexes.
Reducing the number of stored fields seems to have helped significantly.
I do call writer.optimize() after loading in documents, but not sure how I
would se