Interface SuggestDataProvider

All Superinterfaces:
AbstractDataProvider<SuggestData>
All Known Implementing Classes:
ElasticsearchSuggestDataProvider, MergingSuggestDataProvider

public interface SuggestDataProvider extends AbstractDataProvider<SuggestData>
Implementations of this SPI are capable of providing source data for the suggest index.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    In case the same data provider implementation more than once for an index to provide different kind of data, each instance should return a different name, so that the data sources can be archived and recovered separately.

    Methods inherited from interface de.cxp.ocs.smartsuggest.spi.AbstractDataProvider

    configure, getLastDataModTime, hasData, loadData
  • Method Details

    • getName

      default String getName()
      In case the same data provider implementation more than once for an index to provide different kind of data, each instance should return a different name, so that the data sources can be archived and recovered separately. Per default the class-name is returned.
      Returns:
      name to distinguish data source