Searched defs:qp (Results 1 - 12 of 12) sorted by relevance

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/spans/
H A DTestNearSpansOrdered.java42 public static final QueryParser qp = field in class:TestNearSpansOrdered
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/spans/
H A DTestNearSpansOrdered.java42 public static final QueryParser qp = field in class:TestNearSpansOrdered
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/complexPhrase/
H A DComplexPhraseQueryParser.java219 protected void parsePhraseElements(QueryParser qp) throws ParseException { argument
225 contents = qp.parse(phrasedQueryStringContents);
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/
H A DTestNumericQueryParser.java78 private static StandardQueryParser qp; field in class:TestNumericQueryParser
96 qp = new StandardQueryParser(ANALYZER);
191 qp.setNumericConfigMap(numericConfigMap);
472 Query query = qp.parse(queryStr, FIELD_NAME);
H A DTestQPHelper.java207 StandardQueryParser qp = new StandardQueryParser();
208 qp.setAnalyzer(a);
210 qp.setDefaultOperator(StandardQueryConfigHandler.Operator.OR);
212 return qp;
246 public void assertQueryEquals(StandardQueryParser qp, String field, argument
248 Query q = qp.parse(query, field);
267 StandardQueryParser qp = getParser(null);
268 qp.setLowercaseExpandedTerms(lowercase);
269 qp.setAllowLeadingWildcard(allowLeadingWildcard);
270 Query q = qp
792 assertDateRangeQueryEquals(StandardQueryParser qp, String field, String startDate, String endDate, Date endDateInclusive, DateTools.Resolution resolution) argument
[all...]
H A DTestQueryParserWrapper.java212 QueryParserWrapper qp = new QueryParserWrapper("field", a);
213 qp.setDefaultOperator(QueryParserWrapper.OR_OPERATOR);
214 return qp;
246 public void assertQueryEquals(QueryParserWrapper qp, String field, argument
248 Query q = qp.parse(query);
267 QueryParserWrapper qp = getParser(null);
268 qp.setLowercaseExpandedTerms(lowercase);
269 qp.setAllowLeadingWildcard(allowLeadingWildcard);
270 Query q = qp.parse(query);
285 QueryParserWrapper qp
768 assertDateRangeQueryEquals(QueryParserWrapper qp, String field, String startDate, String endDate, Date endDateInclusive, DateTools.Resolution resolution) argument
[all...]
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestExplanations.java59 public static final QueryParser qp = field in class:TestExplanations
97 return qp.parse(queryText);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DTestExplanations.java59 public static final QueryParser qp = field in class:TestExplanations
97 return qp.parse(queryText);
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/precedence/
H A DTestPrecedenceQueryParser.java143 PrecedenceQueryParser qp = new PrecedenceQueryParser();
144 qp.setAnalyzer(a);
145 qp.setDefaultOperator(StandardQueryConfigHandler.Operator.OR);
146 return qp;
165 PrecedenceQueryParser qp = getParser(null);
166 qp.setLowercaseExpandedTerms(lowercase);
167 Query q = qp.parse(query, "field");
177 PrecedenceQueryParser qp = getParser(null);
178 Query q = qp.parse(query, "field");
189 PrecedenceQueryParser qp
474 assertQueryEquals(PrecedenceQueryParser qp, String field, String query, String result) argument
484 assertDateRangeQueryEquals(PrecedenceQueryParser qp, String field, String startDate, String endDate, Date endDateInclusive, DateTools.Resolution resolution) argument
[all...]
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/queryParser/
H A DQueryParserTestBase.java170 public void assertQueryEquals(QueryParser qp, String field, String query, String result) argument
172 Query q = qp.parse(query);
191 QueryParser qp = getParser(null);
192 qp.setLowercaseExpandedTerms(lowercase);
193 qp.setAllowLeadingWildcard(allowLeadingWildcard);
194 Query q = qp.parse(query);
208 QueryParser qp = getParser(null);
209 Query q = qp.parse(query);
221 QueryParser qp = new QueryParser(TEST_VERSION_CURRENT, "field", a);
222 qp
678 assertDateRangeQueryEquals(QueryParser qp, String field, String startDate, String endDate, Date endDateInclusive, DateTools.Resolution resolution) argument
[all...]
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/queryParser/
H A DQueryParserTestBase.java167 public void assertQueryEquals(QueryParser qp, String field, String query, String result) argument
169 Query q = qp.parse(query);
188 QueryParser qp = getParser(null);
189 qp.setLowercaseExpandedTerms(lowercase);
190 qp.setAllowLeadingWildcard(allowLeadingWildcard);
191 Query q = qp.parse(query);
205 QueryParser qp = getParser(null);
206 Query q = qp.parse(query);
218 QueryParser qp = new QueryParser(TEST_VERSION_CURRENT, "field", a);
219 qp
670 assertDateRangeQueryEquals(QueryParser qp, String field, String startDate, String endDate, Date endDateInclusive, DateTools.Resolution resolution) argument
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/
H A DSolrPluginUtils.java808 public DisjunctionMaxQueryParser(QParser qp, String defaultField) { argument
809 super(qp,defaultField);

Completed in 1005 milliseconds