Class PredictionQueryFactory

  • All Implemented Interfaces:
    ESQueryFactory

    public class PredictionQueryFactory
    extends Object
    implements ESQueryFactory

    Query factory that analyzes the search keywords and already checks Elasticsearch about which terms hit documents together (including spell correction and term shingles). Based on that analysis a query is built that tries to match most of the terms (magic algorithm ;)).

    Supported QueryBuildingSettings:
    • 'analyzer' that is used to match the configured fields.