Package com.sematext.searchschemer.reader.elasticsearch

Examples of com.sematext.searchschemer.reader.elasticsearch.ElasticSearchFieldsDefinitionReader


  /**
   * {@inheritDoc}
   */
  @Override
  public IndexStructure read(String file) throws IOException {
    ElasticSearchFieldsDefinitionReader reader = new ElasticSearchFieldsDefinitionReader(new File(file));
    List<FieldAttributes> fields = reader.readFields();
    IndexStructure structure = new BasicIndexStructure();
    for (FieldAttributes field : fields) {
      structure.addField(field.name(), field);
    }
    return structure;
View Full Code Here

TOP

Related Classes of com.sematext.searchschemer.reader.elasticsearch.ElasticSearchFieldsDefinitionReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.