Class FacetField

  • All Implemented Interfaces:

    public class FacetField
    extends Object
    implements Serializable
    A utility class to hold the facet response. It could use the NamedList container, but for JSTL, it is nice to have something that implements List so it can be iterated
    solr 1.3
    See Also:
    Serialized Form
    • Constructor Detail

      • FacetField

        public FacetField​(String n)
    • Method Detail

      • add

        public void add​(String name,
                        long cnt)
        Insert at the end of the list
      • insert

        public void insert​(String name,
                           long cnt)
        Insert at the beginning of the list.
      • getName

        public String getName()
      • getValueCount

        public int getValueCount()
      • getLimitingFields

        public FacetField getLimitingFields​(long max)