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?
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?
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.