Class PayloadTermQuery

    • Constructor Detail

      • PayloadTermQuery

        public PayloadTermQuery​(Term term,
                                PayloadFunction function,
                                boolean includeSpanScore)
    • Method Detail

      • createWeight

        public Weight createWeight​(IndexSearcher searcher)
                            throws java.io.IOException
        Description copied from class: Query
        Expert: Constructs an appropriate Weight implementation for this query.

        Only implemented by primitive queries, which re-write to themselves.

        Overrides:
        createWeight in class SpanQuery
        Throws:
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class SpanTermQuery