Class BaseQueryBuilder<Q extends BaseQuery,SELF extends BaseQueryBuilder<Q,SELF>>

java.lang.Object
io.vanslog.spring.data.meilisearch.core.query.BaseQueryBuilder<Q,SELF>
Direct Known Subclasses:
BasicQueryBuilder, IndexQueryBuilder

public abstract class BaseQueryBuilder<Q extends BaseQuery,SELF extends BaseQueryBuilder<Q,SELF>> extends Object
  • Field Details

  • Constructor Details

    • BaseQueryBuilder

      public BaseQueryBuilder()
  • Method Details

    • withQ

      public SELF withQ(String q)
    • withSort

      public SELF withSort(Sort sort)
    • withPageable

      public SELF withPageable(Pageable pageable)
    • withAttributesToRetrieve

      public SELF withAttributesToRetrieve(String... attributesToRetrieve)
    • withAttributesToCrop

      public SELF withAttributesToCrop(String... attributesToCrop)
    • withCropLength

      public SELF withCropLength(Integer cropLength)
    • withCropMarker

      public SELF withCropMarker(String cropMarker)
    • withHighlightPreTag

      public SELF withHighlightPreTag(String highlightPreTag)
    • withHighlightPostTag

      public SELF withHighlightPostTag(String highlightPostTag)
    • withMatchingStrategy

      public SELF withMatchingStrategy(com.meilisearch.sdk.model.MatchingStrategy matchingStrategy)
    • withAttributesToHighlight

      public SELF withAttributesToHighlight(String... attributesToHighlight)
    • withAttributesToSearchOn

      public SELF withAttributesToSearchOn(String... attributesToSearchOn)
    • withFilter

      public SELF withFilter(String... filter)
    • withFilterArray

      public SELF withFilterArray(String[][] filterArray)
    • withShowMatchesPosition

      public SELF withShowMatchesPosition(boolean showMatchesPosition)
    • withFacets

      public SELF withFacets(String... facets)
    • withShowRankingScore

      public SELF withShowRankingScore(boolean showRankingScore)
    • withShowRankingScoreDetails

      public SELF withShowRankingScoreDetails(boolean showRankingScoreDetails)
    • withRankingScoreThreshold

      public SELF withRankingScoreThreshold(Double rankingScoreThreshold)
    • withLocales

      public SELF withLocales(String... locales)
    • withDistinct

      public SELF withDistinct(String distinct)
    • getQ

      @Nullable public String getQ()
    • getSort

      @Nullable public Sort getSort()
    • getPageable

      @Nullable public Pageable getPageable()
    • getAttributesToRetrieve

      @Nullable public String[] getAttributesToRetrieve()
    • getAttributesToCrop

      @Nullable public String[] getAttributesToCrop()
    • getCropLength

      @Nullable public Integer getCropLength()
    • getCropMarker

      @Nullable public String getCropMarker()
    • getHighlightPreTag

      @Nullable public String getHighlightPreTag()
    • getHighlightPostTag

      @Nullable public String getHighlightPostTag()
    • getMatchingStrategy

      @Nullable public com.meilisearch.sdk.model.MatchingStrategy getMatchingStrategy()
    • getAttributesToHighlight

      @Nullable public String[] getAttributesToHighlight()
    • getAttributesToSearchOn

      @Nullable public String[] getAttributesToSearchOn()
    • getFilter

      @Nullable public String[] getFilter()
    • getFilterArray

      @Nullable public String[][] getFilterArray()
    • getShowMatchesPosition

      public boolean getShowMatchesPosition()
    • getFacets

      @Nullable public String[] getFacets()
    • getShowRankingScore

      public boolean getShowRankingScore()
    • getShowRankingScoreDetails

      public boolean getShowRankingScoreDetails()
    • getRankingScoreThreshold

      @Nullable public Double getRankingScoreThreshold()
    • getLocales

      @Nullable public String[] getLocales()
    • getDistinct

      @Nullable public String getDistinct()
    • build

      public abstract Q build()