Searched defs:part2 (Results 1 - 14 of 14) sorted by relevance

/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/analyzing/
H A DAnalyzingQueryParser.java288 protected Query getRangeQuery(String field, String part1, String part2, boolean inclusive) argument
333 if (part2 != null) {
335 // part2
336 source = getAnalyzer().reusableTokenStream(field, new StringReader(part2));
340 part2 = termAtt.toString();
354 + " - tokens were added to part2");
364 + " - tokens were added to part2");
366 return super.getRangeQuery(field, part1, part2, inclusive);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/queryParser/
H A DMultiFieldQueryParser.java206 protected Query getRangeQuery(String field, String part1, String part2, boolean inclusive) throws ParseException { argument
210 clauses.add(new BooleanClause(getRangeQuery(fields[i], part1, part2, inclusive),
215 return super.getRangeQuery(field, part1, part2, inclusive);
H A DQueryParser.java770 String part2,
775 part2 = part2==null ? null : part2.toLowerCase();
793 Date d2 = df.parse(part2);
810 part2 = DateField.dateToString(d2);
812 part2 = DateTools.dateToString(d2, resolution);
816 return newRangeQuery(field, part1, part2, inclusive);
890 * @param part2 max
894 protected Query newRangeQuery(String field, String part1, String part2, boolea argument
768 getRangeQuery(String field, String part1, String part2, boolean inclusive) argument
[all...]
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestPerSegmentDeletes.java157 part2(writer, fsmp);
175 void part2(IndexWriter writer, RangeMergePolicy fsmp) throws Exception { method in class:TestPerSegmentDeletes
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestPerSegmentDeletes.java156 part2(writer, fsmp);
174 void part2(IndexWriter writer, RangeMergePolicy fsmp) throws Exception { method in class:TestPerSegmentDeletes
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/
H A DPointType.java140 public Query getRangeQuery(QParser parser, SchemaField field, String part1, String part2, boolean minInclusive, boolean maxInclusive) { argument
147 p2 = DistanceUtils.parsePoint(null, part2, dimension);
H A DTextField.java126 public Query getRangeQuery(QParser parser, SchemaField field, String part1, String part2, boolean minInclusive, boolean maxInclusive) { argument
129 String upper = analyzeMultiTerm(field.getName(), part2, multiAnalyzer);
H A DDateField.java416 public Query getRangeQuery(QParser parser, SchemaField sf, Date part1, Date part2, boolean minInclusive, boolean maxInclusive) { argument
420 part2 == null ? null : toInternal(part2),
H A DFieldType.java545 * currently passes part1 and part2 as null if they are '*' respectively. minInclusive and maxInclusive are both true
550 * handle nulls in part1 and/or part2 as well as unequal minInclusive and maxInclusive parameters gracefully.
555 * @param part2 the upper boundary of the range, nulls are allowed
562 public Query getRangeQuery(QParser parser, SchemaField field, String part1, String part2, boolean minInclusive, boolean maxInclusive) { argument
567 part2 == null ? null : toInternal(part2),
H A DCurrencyField.java215 public Query getRangeQuery(QParser parser, SchemaField field, String part1, String part2, final boolean minInclusive, final boolean maxInclusive) { argument
217 final CurrencyValue p2 = CurrencyValue.parse(part2, defaultCurrency);
221 "Cannot parse range query " + part1 + " to " + part2 +
H A DLatLonType.java91 public Query getRangeQuery(QParser parser, SchemaField field, String part1, String part2, boolean minInclusive, boolean maxInclusive) { argument
98 p2 = DistanceUtils.parsePoint(null, part2, dimension);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DSolrQueryParser.java210 protected Query getRangeQuery(String field, String part1, String part2, boolean inclusive) throws ParseException { argument
213 return sf.getType().getRangeQuery(parser, sf, part1, part2, inclusive, inclusive);
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/complexPhrase/
H A DComplexPhraseQueryParser.java163 protected Query getRangeQuery(String field, String part1, String part2, argument
168 return super.getRangeQuery(field, part1, part2, inclusive);
172 protected Query newRangeQuery(String field, String part1, String part2, argument
177 TermRangeQuery rangeQuery = new TermRangeQuery(field, part1, part2, inclusive, inclusive,
182 return super.newRangeQuery(field, part1, part2, inclusive);
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/
H A DQueryParserWrapper.java444 protected Query getRangeQuery(String field, String part1, String part2, argument

Completed in 786 milliseconds