Class TierBar

  • All Implemented Interfaces:
    ResultType

    public class TierBar
    extends Object
    implements ResultType

    A tier bar

    Results are grouped by tier bars depending on how they match the query terms. There is usually one tier bar for the fully matching results and another one for the partially matching results.

    Since:
    11.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Date eventDate
      Date of the events for this tier bar when the -events query processor option is set.
      private int firstRank
      Rank of the first search result contained within this tier bar
      private int lastRank
      Rank of the last search result contained within this tier bar
      private int matched
      Number of query terms matched by this tier bar
      private int outOf
      Total number of query terms, including the one matched by this tier bar.
    • Constructor Summary

      Constructors 
      Constructor Description
      TierBar​(int matched, int outOf, Date eventDate)  
    • Field Detail

      • matched

        private int matched
        Number of query terms matched by this tier bar
      • outOf

        private int outOf
        Total number of query terms, including the one matched by this tier bar.
      • firstRank

        private int firstRank
        Rank of the first search result contained within this tier bar
      • lastRank

        private int lastRank
        Rank of the last search result contained within this tier bar
      • eventDate

        private Date eventDate

        Date of the events for this tier bar when the -events query processor option is set.

    • Constructor Detail

      • TierBar

        public TierBar​(int matched,
                       int outOf,
                       Date eventDate)