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)
		{
		}
Beispiel #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;
		}
Beispiel #5
0
 public PayloadTermQuery(Term term, PayloadFunction function, bool includeSpanScore) : base(term)
 {
     this.function         = function;
     this.includeSpanScore = includeSpanScore;
 }
Beispiel #6
0
 public PayloadTermQuery(Term term, PayloadFunction function) : this(term, function, true)
 {
 }