Jack, according to you, How can I implemt this requirement ?Could you give me
a clue ? thank you very much.The regex query seemed not worked ? I got the
field such as        FieldType fieldType = new FieldType();       
FieldInfo.IndexOptions indexOptions =              
FieldInfo.IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS;       
fieldType.setIndexOptions(indexOptions);        fieldType.setIndexed(true);     
  
fieldType.setTokenized(true);        fieldType.setStored(true);       
fieldType.freeze();        return new Field(name, value, fieldType);



-----
--------------------------
Email: wuqiu.m...@qq.com
--------------------------
--
View this message in context: 
http://lucene.472066.n3.nabble.com/PhraseQuery-Can-jakarta-apache-10-be-searched-by-offset-tp4061243p4062852.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

Reply via email to