pom.xml
file, depending on which version of Elastic you are using:
host (java.lang.String)
The URI of the ElasticSearch Server. Must be specified using the full URI (for example, http://localhost:1234
; localhost:1234
will not work).
preserveBoosting (java.lang.Boolean)
If true, ensures the query is ‘rewritten’ by Elasticsearch so that field boosting is preserved.false
clientTransportSniff (java.lang.Boolean)
Whether to sniff for other nodes on the same cluster allowing for more fault-tolerant and efficient search. Might be required if the Elasticsearch instances are distributed.false
cluster (java.lang.String)
The name of the cluster to use (required if using clientTransportSniff="true"
for sniffing nodes on the cluster allowing for more fault-tolerance and efficient searching)''
type (java.lang.String)
The name of the data type to use, which will be defined by a mapping of fields in the Elasticsearch instance''
index (java.lang.String)
The search index, for example, ‘search’ for an index named search.''
highlight (java.lang.String)
Fields to apply highlighting to. Specified in a comma separated list.
facetSize (java.lang.String)
Determines the total number of all facets to be returned - the Elasticsearch default is 10 which is too small for most applications.
applyFiltersToFacets (java.lang.Boolean)
If true: facets returned will be restricted by the filters applied in the query so will match only those with matching documents in the result set.shard-size (java.lang.Integer)
For use with terms aggregations, this parameter decides how many terms the co-ordinating node will request from each shard.
min-doc-count (java.lang.Long)
For use with terms aggregations, terms will only be returned if they match more than this number of hits.
shard-min-doc-count (java.lang.Long)
For use with terms aggregations, terms will only be considered if their local shard frequency is higher than this value.
show-term-doc-count-error (java.lang.Boolean)
For use with terms aggregations, setting this value to true will return an error value for each term, which represents the worst case error in the document count.
fields-type (java.lang.String)
Available with Elastic Search 5 adapter only. Setting this value to source
will enable the use of source filtering as described here. Default value is stored
and uses the legacy stored_fields filtering described here.
query-term-fields (java.lang.String)
Available with Elastic Search 5 adapter only. The query can also search against multiple fields. These fields can be provided via the “query-term-fields” parameter here. Default value is []
that searches against all fields.
name (java.lang.String)
The display name of this Platform instance. Used for identifying different platforms in the user interface.
aliases (java.lang.String)
Manage mappings from field names to aliases (use a comma-separated list). All references to the field (via this platform) in results, facets, filters, and query strings are mapped. For example, to refer to a field in the index named firstnamelastname
as name
and countryofresidence
as country
, use these mappings: aliases="firstnamelastname=name,countryofresidence=country"
defaultQuery (java.lang.String)
Default query to use when none is specified.
defaultFacets (java.lang.String)
Default facets to request when none are specified. This is a comma separated list.
spellCheck (java.lang.Boolean)
Spellcheck the Query term if supported by the Platform.true
expandQuery (java.lang.Boolean)
Apply advanced linguistics such as stemming or lemmatization if supported by the Platform.true
autoCorrect (java.lang.Boolean)
Whether to auto-correct and resubmit futile queries (queries with zero results).true
fileTypeField (java.lang.String)
Set which field contains information about file type (mime type).
resultIDField (java.lang.String)
Set which field represents the unique identifier for a given result.
pageLimit (java.lang.Long)
A limitation to which page the platform will offset.
pom.xml
file:user-name
and password
for the config definition.user-name
and password
for the config definition.
user-name (java.lang.String)
The userName to supplypassword (java.lang.String)
The password to supply