Interface Facet

All Known Subinterfaces:
RangeFacet<T>

@Deprecated public interface Facet
Deprecated.
See the deprecation note on FacetContext.
A single facet (field value and count).
Author:
Hardy Ferentschik
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated.
     
    Deprecated.
     
    Deprecated.
    Return the Document field name this facet is targeting.
    Deprecated.
     
  • Method Details

    • getFacetingName

      String getFacetingName()
      Deprecated.
      Returns:
      the faceting name this Facet belongs to.
      See Also:
    • getFieldName

      String getFieldName()
      Deprecated.
      Return the Document field name this facet is targeting. The field needs to be indexed with Analyze.NO.
      Returns:
      the Document field name this facet is targeting.
    • getValue

      String getValue()
      Deprecated.
      Returns:
      the value of this facet. In case of a discrete facet it is the actual Document field value. In case of a range query the value is a string representation of the range.
    • getCount

      int getCount()
      Deprecated.
      Returns:
      the facet count.