Class ElasticSearchDataSetDef


  • public class ElasticSearchDataSetDef
    extends DataSetDef

    DataSet definition class for ElasticSearch provider.

    This dataset provides these configuration parameters:

    • serverURL - The URL for the ElasticSearch server instance (MANDATORY)
    • clusterName - The name of the cluster in the ElasticSearch server.
    • index - The name of the index. It can be a concrete index name, a collection of index names, comma separated, or the keyword _all for working with all available indexes in the ElasticSearch server (OPTIONAL - Defaults to _all)
    • type - The type name. Only applicable if index parameter is set. It can be a concrete type name, a collection of type names, comma separated, or the keyword _all for working with all available type in the ElasticSearch server (OPTIONAL - Defaults to _all)
    • query - You can perform your custom ElasticSearch DSL query for this data provider. If this parameter exist, the parameters index, type and field are skipped. (OPTIONAL)
    • relevance - The relevance value for search results (OPTIONAL)
    • columns - If not specified, the column definitions for the ElasticSearch dataset are automatically given by querying the index mappings. Otherwise, you can bind a column to another datatype in dashbuilder application using this parameters (OPTIONAL)
    Since:
    0.3.0