Class SearchForFacetValuesResponse

java.lang.Object
com.algolia.model.search.SearchForFacetValuesResponse
All Implemented Interfaces:
SearchResult

public class SearchForFacetValuesResponse extends Object implements SearchResult
SearchForFacetValuesResponse
  • Constructor Details

    • SearchForFacetValuesResponse

      public SearchForFacetValuesResponse()
  • Method Details

    • setFacetHits

      public SearchForFacetValuesResponse setFacetHits(List<FacetHits> facetHits)
    • addFacetHits

      public SearchForFacetValuesResponse addFacetHits(FacetHits facetHitsItem)
    • getFacetHits

      @Nonnull public List<FacetHits> getFacetHits()
      Matching facet values.
    • setExhaustiveFacetsCount

      public SearchForFacetValuesResponse setExhaustiveFacetsCount(Boolean exhaustiveFacetsCount)
    • getExhaustiveFacetsCount

      @Nonnull public Boolean getExhaustiveFacetsCount()
      Whether the facet count is exhaustive (true) or approximate (false). For more information, see [Why are my facet and hit counts not accurate](https://support.algolia.com/hc/en-us/articles/4406975248145-Why-are-my-facet-and-hit-counts-not-accurate-).
    • setProcessingTimeMS

      public SearchForFacetValuesResponse setProcessingTimeMS(Integer processingTimeMS)
    • getProcessingTimeMS

      @Nullable public Integer getProcessingTimeMS()
      Time the server took to process the request, in milliseconds.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object