Esempio n. 1
0
 public RangeQuery(string range, string start, string end, OccurType occurType)
     : base(occurType)
 {
     _range = range;
     _start = start;
     _end = end;
 }
Esempio n. 2
0
        public static BooleanClause.Occur ToOccur(this OccurType occurType)
        {
            BooleanClause.Occur clause = BooleanClause.Occur.SHOULD;
            switch (occurType)
            {
            case OccurType.Must:
                clause = BooleanClause.Occur.MUST;
                break;

            case OccurType.MustNot:
                clause = BooleanClause.Occur.MUST_NOT;
                break;

            case OccurType.Should:
                clause = BooleanClause.Occur.SHOULD;
                break;
            }
            return(clause);
        }
Esempio n. 3
0
 public StringQuery(string field, string query, OccurType occurType)
     : base(occurType)
 {
     _field = field;
     _query = query;
 }
Esempio n. 4
0
 public MultiQuery(string queryString, Analyzer analyzer, OccurType occrType)
     : base(occrType)
 {
     _queryString = queryString;
 }
Esempio n. 5
0
 public OrQuery(BaseQuery fQuery, BaseQuery f2Query, OccurType occurType)
     : base(occurType)
 {
     _fQuery = fQuery;
     _f2Query = f2Query;
 }
Esempio n. 6
0
 protected BaseQuery()
 {
     _occurType = OccurType.Should;
 }
Esempio n. 7
0
 protected BaseQuery(OccurType occurType)
 {
     _occurType = occurType;
 }
Esempio n. 8
0
 protected BaseQuery()
 {
     _occurType = OccurType.Should;
 }
Esempio n. 9
0
 protected BaseQuery(OccurType occurType)
 {
     _occurType = occurType;
 }
Esempio n. 10
0
 public OrQuery(BaseQuery fQuery, BaseQuery f2Query, OccurType occurType)
     : base(occurType)
 {
     _fQuery  = fQuery;
     _f2Query = f2Query;
 }
Esempio n. 11
0
 public StringQuery(string field, string query, OccurType occurType)
     : base(occurType)
 {
     _field = field;
     _query = query;
 }
Esempio n. 12
0
 public RangeQuery(string range, string start, string end, OccurType occurType) : base(occurType)
 {
     _range = range;
     _start = start;
     _end   = end;
 }