handling nonexistent fields in an index

2013-07-03 Thread David Carlton
I have a bunch of Lucene indices lying around, and I want to start adding a new field to documents in new indices that I'm generating. So, for a given index, either every document in the index will have that field or no document will have that field. The new field has a default value; and I would

Re: handling nonexistent fields in an index

2013-07-03 Thread Jack Krupansky
-user@lucene.apache.org Subject: handling nonexistent fields in an index I have a bunch of Lucene indices lying around, and I want to start adding a new field to documents in new indices that I'm generating. So, for a given index, either every document in the index will have that field

Re: handling nonexistent fields in an index

2013-07-03 Thread David Carlton
(String field, boolean negate)) -- Jack Krupansky -Original Message- From: David Carlton Sent: Wednesday, July 03, 2013 4:27 PM To: java-user@lucene.apache.org Subject: handling nonexistent fields in an index I have a bunch of Lucene indices lying around, and I want to start adding