TextIndexDefinition indexDefinition = indexDefinitionBuilder.build();
TextIndexDefinition indexDefinition = indexDefinitionBuilder.build();
public IndexDefinition getIndexDefinition() { return index.build(); }
/** * Creates a {@link TextIndexDefinition} for all fields in the document. * * @return */ public static TextIndexDefinition forAllFields() { return new TextIndexDefinitionBuilder().onAllFields().build(); }
/** * Creates a {@link TextIndexDefinition} for all fields in the document. * * @return */ public static TextIndexDefinition forAllFields() { return new TextIndexDefinitionBuilder().onAllFields().build(); }