public PayloadTermQuery(Term term, PayloadFunction function, bool includeSpanScore):base(term)
		{
			this.function = function;
			this.includeSpanScore = includeSpanScore;
		}
		public PayloadTermQuery(Term term, PayloadFunction function):this(term, function, true)
		{
		}
Example #3
0
 public PayloadNearQuery(SpanQuery[] clauses, int slop, bool inOrder, PayloadFunction function) : base(clauses, slop, inOrder)
 {
     fieldName     = clauses[0].Field;         // all clauses must have same field
     this.function = function;
 }
		public PayloadNearQuery(SpanQuery[] clauses, int slop, bool inOrder, PayloadFunction function):base(clauses, slop, inOrder)
		{
			fieldName = clauses[0].Field; // all clauses must have same field
			this.function = function;
		}
Example #5
0
 public PayloadTermQuery(Term term, PayloadFunction function, bool includeSpanScore) : base(term)
 {
     this.function         = function;
     this.includeSpanScore = includeSpanScore;
 }
Example #6
0
 public PayloadTermQuery(Term term, PayloadFunction function) : this(term, function, true)
 {
 }