Class IndexSettings
java.lang.Object
org.hibernate.search.backend.elasticsearch.lowlevel.index.settings.impl.IndexSettings
Settings for an Elasticsearch index.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIndexSettings(Analysis analysis, Integer maxResultWindow, Map<String, com.google.gson.JsonElement> extraAttributes) -
Method Summary
Modifier and TypeMethodDescriptionRemove all entries fromextraAttributesthat are present with the exact same values onextraAttributesToRemoveparameter.getKnn()voidmerge(IndexSettings other) Merge these (custom) settings with settings generated by Hibernate Search.voidsetAnalysis(Analysis analysis) voidtoString()
-
Field Details
-
MAX_RESULT_WINDOW_ATTRIBUTE
- See Also:
-
KNN_ATTRIBUTE
- See Also:
-
MAX_RESULT_WINDOW_DEFAULT
public static final int MAX_RESULT_WINDOW_DEFAULT- See Also:
-
-
Constructor Details
-
IndexSettings
public IndexSettings() -
IndexSettings
-
-
Method Details
-
getAnalysis
-
setAnalysis
-
getMaxResultWindow
-
getKnn
-
setKnn
-
getExtraAttributes
-
toString
-
merge
Merge these (custom) settings with settings generated by Hibernate Search.Any conflict of definition will be solved in favor of
this.- Parameters:
other- The other index settings
-
diff
Remove all entries fromextraAttributesthat are present with the exact same values onextraAttributesToRemoveparameter.- Parameters:
extraAttributesToRemove- Other index settings extra attributes
-