Class QueryBuilder.TermAndBoost

  • Enclosing class:
    QueryBuilder

    public static class QueryBuilder.TermAndBoost
    extends Object
    Wraps a term and boost
    • Field Detail

      • term

        public final Term term
        the term
      • boost

        public final float boost
        the boost
    • Constructor Detail

      • TermAndBoost

        public TermAndBoost​(Term term,
                            float boost)
        Creates a new TermAndBoost