Default support multivalued Field?


(王伟) #1

lucene support multivalued Field

Document doc=new Document();
for(String tag : tagList){
doc.add(new Field("tagname",tag,Field.Store.YES,Field,Index.Analyzed))
}

i need like how to write es mapping before they can so?


(system) #2