Class DateCount


  • public class DateCount
    extends Object
    A date count (Used in faceted navigation).
    Since:
    v12.0
    • Field Detail

      • queryTerm

        private String queryTerm

        Date constraint to apply to select documents for this date count, e.g. |d>1jan2003.

      • count

        private int count
        Number of documents for this date.
    • Constructor Detail

      • DateCount

        public DateCount​(String queryTerm,
                         int count)
      • DateCount

        public DateCount()
    • Method Detail

      • getQueryTerm

        public String getQueryTerm()

        Date constraint to apply to select documents for this date count, e.g. |d>1jan2003.

      • setQueryTerm

        public void setQueryTerm​(String queryTerm)

        Date constraint to apply to select documents for this date count, e.g. |d>1jan2003.

      • getCount

        public int getCount()
        Number of documents for this date.
      • setCount

        public void setCount​(int count)
        Number of documents for this date.