Interface IStemmedSearchable

All Known Implementing Classes:
KeywordTextStemmedField

public interface IStemmedSearchable
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the stemmed text field index for this attribute in Elastic.
    co.elastic.clients.elasticsearch._types.query_dsl.Query
    Returns a query that will textually match the provided value against the field.
    static co.elastic.clients.elasticsearch._types.query_dsl.Query
    matchStemmed(String field, String value)
    Returns a query that will textually match the provided value against the field.
  • Method Details

    • getStemmedFieldName

      String getStemmedFieldName()
      Returns the name of the stemmed text field index for this attribute in Elastic.
      Returns:
      the field name for the stemmed text index on this attribute
    • matchStemmed

      co.elastic.clients.elasticsearch._types.query_dsl.Query matchStemmed(String value)
      Returns a query that will textually match the provided value against the field. This analyzes the provided value according to the same analysis carried out on the field (for example, tokenization and stemming).
      Parameters:
      value - the string value to match against
      Returns:
      a query that will only match assets whose analyzed value for the field matches the value provided (which will also be analyzed)
    • matchStemmed

      static co.elastic.clients.elasticsearch._types.query_dsl.Query matchStemmed(String field, String value)
      Returns a query that will textually match the provided value against the field. This analyzes the provided value according to the same analysis carried out on the field (for example, tokenization and stemming).
      Parameters:
      field - name of the field to search
      value - the string value to match against
      Returns:
      a query that will only match assets whose analyzed value for the field matches the value provided (which will also be analyzed)