Class ContextTermQuery

java.lang.Object
de.elo.ix.client.esearch.query.ContextTermQuery
All Implemented Interfaces:
Serializable

public class ContextTermQuery extends Object implements Serializable

Submit a ContextTermQuery for each ContextTerm to be retrieved.

Describe the contextTerm in with filter. If a value is committed, this value is used to calculate every other ContextTerm in ContextTermOptions.contextTermQueries

Specify a return type for each contextTerm: ContextTermReturnTypeE

To exclude a value from contextTerms, use set isNegated=true. Defaults to false.

Since:
11.00.000.002
See Also:
  • Field Details

    • filter

      protected QueryFilter filter
      Specify the field and type for which a context term should be returned.
    • returnType

      protected ContextTermReturnTypeE returnType
      Specify the return type of this ContextTerm.
    • isNegated

      protected boolean isNegated
      To exclude a value from contextTerms, use set isNegated=true. Defaults to false.
      Since:
      11.00.000.002
  • Constructor Details

  • Method Details

    • getFilter

      public QueryFilter getFilter()
    • getReturnType

      public ContextTermReturnTypeE getReturnType()
    • isNegated

      public boolean isNegated()
    • setFilter

      public void setFilter(QueryFilter filter)
    • setReturnType

      public void setReturnType(ContextTermReturnTypeE returnType)
    • setNegated

      public void setNegated(boolean isNegated)