Interface StringSearchFacet

All Superinterfaces:
Bson, SearchFacet

@Sealed @Beta({CLIENT,SERVER}) public interface StringSearchFacet extends SearchFacet
Since:
4.7
See Also:
  • Method Details

    • numBuckets

      StringSearchFacet numBuckets(int max)
      Creates a new StringSearchFacet that explicitly limits the number of facet categories.
      Parameters:
      max - The maximum number of facet categories to return in the results.
      Returns:
      A new StringSearchFacet.