/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | BooleanClause.java | 23 /** Specifies how clauses are to occur in matching documents. */ 48 private Occur occur; field in class:BooleanClause 53 public BooleanClause(Query query, Occur occur) { argument 55 this.occur = occur; 60 return occur; 63 public void setOccur(Occur occur) { argument 64 this.occur = occur; 77 return Occur.MUST_NOT == occur; [all...] |
H A D | BooleanQuery.java | 126 public void add(Query query, BooleanClause.Occur occur) { argument 127 add(new BooleanClause(query, occur));
|
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/ |
H A D | FilterClause.java | 31 private final Occur occur; field in class:FilterClause 37 * @param occur A parameter implementation indicating SHOULD, MUST or MUST NOT 40 public FilterClause(Filter filter, Occur occur) { argument 41 this.occur = occur; 54 * Returns this FilterClause's occur parameter 58 return occur; 69 && this.occur == other.occur; 74 return filter.hashCode() ^ occur [all...] |
H A D | BooleanFilter.java | 111 public final void add(Filter filter, Occur occur) { argument 112 add(new FilterClause(filter, occur));
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/ |
H A D | SrndBooleanQuery.java | 29 BooleanClause.Occur occur) { 31 bq.add( queries.get(i), occur); 37 BooleanClause.Occur occur) { 42 addQueriesToBoolean(bq, queries.subList(0, queries.size()), occur); 26 addQueriesToBoolean( BooleanQuery bq, List<Query> queries, BooleanClause.Occur occur) argument 35 makeBooleanQuery( List<Query> queries, BooleanClause.Occur occur) argument
|
H A D | SrndQuery.java | 81 public void add(Query query, BooleanClause.Occur occur) {
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | TestBoolean2.java | 307 BooleanClause.Occur occur; 309 occur=BooleanClause.Occur.MUST_NOT; 313 occur=BooleanClause.Occur.MUST; 315 occur=BooleanClause.Occur.SHOULD; 318 occur=BooleanClause.Occur.SHOULD; 321 current.add(q, occur);
|
H A D | TestSubScorerFreqs.java | 179 for (EnumSet<Occur> occur : occurList) { 181 10, true), occur); 185 boolean includeOptional = occur.contains(Occur.SHOULD);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | TestBoolean2.java | 307 BooleanClause.Occur occur; 309 occur=BooleanClause.Occur.MUST_NOT; 313 occur=BooleanClause.Occur.MUST; 315 occur=BooleanClause.Occur.SHOULD; 318 occur=BooleanClause.Occur.SHOULD; 321 current.add(q, occur);
|
H A D | TestSubScorerFreqs.java | 179 for (EnumSet<Occur> occur : occurList) { 181 10, true), occur); 185 boolean includeOptional = occur.contains(Occur.SHOULD);
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/jaspell/ |
H A D | JaspellTernarySearchTrie.java | 208 Float occur, one = new Float(1); 213 occur = one; 215 occur = Float.parseFloat(word.substring(pos + 1).trim()); 246 occur += occur2.floatValue(); 249 currentNode.data = occur;
|
/lucene-3.6.0/lucene/contrib/join/src/test/org/apache/lucene/search/ |
H A D | TestBlockJoin.java | 499 BooleanClause.Occur occur; 501 occur = random.nextBoolean() ? BooleanClause.Occur.MUST : BooleanClause.Occur.MUST_NOT; 505 occur = BooleanClause.Occur.SHOULD; 510 bq.add(clause, occur); 682 BooleanClause.Occur occur; 684 occur = random.nextBoolean() ? BooleanClause.Occur.MUST : BooleanClause.Occur.MUST_NOT; 688 occur = BooleanClause.Occur.SHOULD; 693 bq.add(clause, occur);
|
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/ |
H A D | TestMultiFieldQPHelper.java | 66 Occur occur[] = { Occur.SHOULD, Occur.SHOULD }; 75 q = QueryParserUtil.parse(qtxt, fields, occur, a);
|
H A D | TestMultiFieldQueryParserWrapper.java | 69 Occur occur[] = { Occur.SHOULD, Occur.SHOULD }; 77 q = MultiFieldQueryParserWrapper.parse(qtxt, fields, occur, a);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/queryParser/ |
H A D | QueryParser.jj | 674 BooleanClause.Occur occur = positionCount > 1 && operator == AND_OPERATOR ? 689 q.add(currentQuery, occur); 855 * @param occur how this clause should occur when matching documents 858 protected BooleanClause newBooleanClause(Query q, BooleanClause.Occur occur) { 859 return new BooleanClause(q, occur);
|
H A D | QueryParser.java | 650 BooleanClause.Occur occur = positionCount > 1 && operator == AND_OPERATOR ? 665 q.add(currentQuery, occur); 831 * @param occur how this clause should occur when matching documents 834 protected BooleanClause newBooleanClause(Query q, BooleanClause.Occur occur) { argument 835 return new BooleanClause(q, occur);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/queryParser/ |
H A D | TestMultiFieldQueryParser.java | 60 Occur occur[] = {Occur.SHOULD, Occur.SHOULD}; 67 q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, qtxt, fields, occur, a);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/queryParser/ |
H A D | TestMultiFieldQueryParser.java | 60 Occur occur[] = {Occur.SHOULD, Occur.SHOULD}; 67 q = MultiFieldQueryParser.parse(TEST_VERSION_CURRENT, qtxt, fields, occur, a);
|