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 Detail

      • 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.