コード例 #1
0
 public ProximityTerm Proximity(string field, int proximity, params string[] words)
 {
     var term = new ProximityTerm(this, field, proximity, words);
     _term = term;
     return term;
 }
コード例 #2
0
 public Term Between(Token from, Token to, bool inclusive = true)
 {
     _term = new RangeTerm(this, _field, from, to, inclusive);
     return _term;
 }
コード例 #3
0
 public Term Group(Token value, Func<Term, Term> groupSetup)
 {
     var groupedTerm = groupSetup(new UnaryTerm(this, _field, value));
     _grouped = true;
     _term = new GroupTerm(this, _field, groupedTerm);
     return _term;
 }
コード例 #4
0
 public Term Search(Token value)
 {
     _term = new UnaryTerm(this, _field, value);
     return _term;
 }