The Surge 2013 CFP is open. For details or to submit a paper, please visit
http://surge.omniti.com/2013
--
Katherine Jeschke
Director of Marketing and Creative Services
OmniTI Computer Consulting, Inc.
11830 West Market Place, Suite F
Fulton, MD 20759
O: 240-646-0770, 222
F: 301-497-2001
C: 443/6
You need to create your own FieldType, e.g.:
FieldType textWithTermVectors = new FieldType(TextField.TYPE_STORED);
textWithTermVectors.setStoreTermVectorstrue);
textWithTermVectors.setStoreTermVectorPositions(true);
Then create new Field("name", "value", textWithTermVectors) and add
that to
Hi chaps,
Lucene 4.1.0:
I notice org.apache.lucene.document.Field(String name, String value,
Field.Store store, Field.Index index, Field.TermVector termVector) is marked as
deprecated while its suggested replacements (TextField and StringField) to not
seem to have support for Term Vectors.
I