Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

WSO2 DAS has a distributed indexing engine which is built on top of Apache Lucene. Data is indexed and saved in the Data Access Layer of DAS in a store referred to as the Analytics File System. This section explains how indexing is used in WSO2 DAS.

Selecting data to be indexed

The following needs to be done when persisting data for interactive analytics

  • If you want to search for data by a specific attribute in an event stream, the Index Column check box should be selected for it.
  • If you want to carry out faceted extended searches using a specific attribute, the Attribute Type parameter should be FACET.

Indexing data

The following needs to be done in order to ensure that the data is indexed as required.

  • If you want to search for data by a specific attribute in an event stream, one or more events with values for the relevant attribute should be published.
  • If you want to carry out faceted extended searches using a specific attribute, the value for that attribute should be entered as follows.
    • The complete value should be within square brackets.
    • The different categories embedded within the value should be separated by commas.

The following table summarizes the indexing actions required for each search action.

 Persisting Data for AnalyticsPublishing Events

Search ActionDefine Attribute as Index Column?Define Attribute as Facet?Insert Attribute Value Within Square Brackets?Separate Sub Values of Attribute Value with Commas?Insert Sub Values Within Single Quotation Marks?
Searching by an attributeRequiredNot requiredNot requiredNot requiredRequired if the attribute value contains spaces.
Extracting sub categories

Required

RequiredRequiredRequiredNot required
Performing a drill down searchRequiredRequiredRequiredRequiredRequired
Searching within a value rangeRequiredNot requiredNot requiredNot requiredNot required

For detailed instructions to carry out different search actions using examples, see Searching Data By Categories.

  • No labels