Searched refs:queryText (Results 1 - 18 of 18) sorted by relevance

/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/
H A DExceptionQueryTst.java25 private String queryText; field in class:ExceptionQueryTst
28 public ExceptionQueryTst(String queryText, boolean verbose) { argument
29 this.queryText = queryText;
37 lq = QueryParser.parse(queryText);
39 System.out.println("Query: " + queryText + "\nParsed as: " + lq.toString());
44 + queryText + "\n"
50 failQueries.append(queryText);
H A DBooleanQueryTst.java34 String queryText; field in class:BooleanQueryTst
43 String queryText,
49 this.queryText = queryText;
90 Assert.assertTrue(queryText + ": positive score", score > 0.0);
91 Assert.assertTrue(queryText + ": too many hits", totalMatched < expectedDocNrs.length);
100 Assert.assertTrue(queryText + ": doc nr for hit not expected: " + docNr, false);
106 Assert.assertEquals(queryText + ": nr of hits", expectedDocNrs.length, totalMatched);
114 System.out.println("Query: " + queryText);
117 SrndQuery lq = QueryParser.parse(queryText);
42 BooleanQueryTst( String queryText, int[] expectedDocNrs, SingleFieldTestDb dBase, String fieldName, Assert testCase, BasicQueryFactory qf) argument
[all...]
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestBoolean2.java125 public Query makeQuery(String queryText) throws ParseException { argument
126 Query q = (new QueryParser(TEST_VERSION_CURRENT, field, new MockAnalyzer(random))).parse(queryText);
130 public void queriesTest(String queryText, int[] expDocNrs) throws Exception { argument
132 //System.out.println("Query: " + queryText);
134 Query query = makeQuery(queryText);
151 String queryText = "+w3 +xx";
153 queriesTest(queryText, expDocNrs);
158 String queryText = "+w3 xx";
160 queriesTest(queryText, expDocNrs);
165 String queryText
[all...]
H A DTestExplanations.java96 public Query makeQuery(String queryText) throws ParseException { argument
97 return qp.parse(queryText);
101 public void qtest(String queryText, int[] expDocNrs) throws Exception { argument
102 qtest(makeQuery(queryText), expDocNrs);
126 public void bqtest(String queryText, int[] expDocNrs) throws Exception { argument
127 bqtest(makeQuery(queryText), expDocNrs);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DTestBoolean2.java125 public Query makeQuery(String queryText) throws ParseException { argument
126 Query q = (new QueryParser(TEST_VERSION_CURRENT, field, new MockAnalyzer(random))).parse(queryText);
130 public void queriesTest(String queryText, int[] expDocNrs) throws Exception { argument
132 //System.out.println("Query: " + queryText);
134 Query query = makeQuery(queryText);
151 String queryText = "+w3 +xx";
153 queriesTest(queryText, expDocNrs);
158 String queryText = "+w3 xx";
160 queriesTest(queryText, expDocNrs);
165 String queryText
[all...]
H A DTestExplanations.java96 public Query makeQuery(String queryText) throws ParseException { argument
97 return qp.parse(queryText);
101 public void qtest(String queryText, int[] expDocNrs) throws Exception { argument
102 qtest(makeQuery(queryText), expDocNrs);
126 public void bqtest(String queryText, int[] expDocNrs) throws Exception { argument
127 bqtest(makeQuery(queryText), expDocNrs);
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/
H A DExtendableQueryParser.java129 protected Query getFieldQuery(final String field, final String queryText, boolean quoted) argument
137 queryText));
139 return super.getFieldQuery(field, queryText, quoted);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DFieldQParserPlugin.java47 String queryText = localParams.get(QueryParsing.V);
50 return ft.getFieldQuery(this, sf, queryText);
H A DSolrQueryParser.java173 protected Query getFieldQuery(String field, String queryText, boolean quoted) throws ParseException { argument
181 // return QueryParsing.parseFunction(queryText, schema);
183 // QParser nested = parser.subQuery(queryText, "func");
190 QParser nested = parser.subQuery(queryText, magic.subParser);
199 return super.getFieldQuery(field, queryText, quoted || ((TextField)ft).getAutoGeneratePhraseQueries());
201 return sf.getType().getFieldQuery(parser, sf, queryText);
206 return super.getFieldQuery(field, queryText, quoted);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/queryParser/
H A DMultiFieldQueryParser.java100 protected Query getFieldQuery(String field, String queryText, int slop) throws ParseException { argument
104 Query q = super.getFieldQuery(fields[i], queryText, true);
122 Query q = super.getFieldQuery(field, queryText, true);
137 protected Query getFieldQuery(String field, String queryText, boolean quoted) throws ParseException { argument
141 Query q = super.getFieldQuery(fields[i], queryText, quoted);
158 Query q = super.getFieldQuery(field, queryText, quoted);
H A DQueryParser.jj584 protected Query getFieldQuery(String field, String queryText) throws ParseException {
586 return getFieldQuery(field, queryText, true);
592 protected Query getFieldQuery(String field, String queryText, boolean quoted) throws ParseException {
598 source = analyzer.reusableTokenStream(field, new StringReader(queryText));
601 source = analyzer.tokenStream(field, new StringReader(queryText));
774 protected Query getFieldQuery(String field, String queryText, int slop)
776 Query query = hasNewAPI ? getFieldQuery(field, queryText, true) : getFieldQuery(field, queryText);
H A DQueryParser.java560 protected Query getFieldQuery(String field, String queryText) throws ParseException { argument
562 return getFieldQuery(field, queryText, true);
568 protected Query getFieldQuery(String field, String queryText, boolean quoted) throws ParseException { argument
574 source = analyzer.reusableTokenStream(field, new StringReader(queryText));
577 source = analyzer.tokenStream(field, new StringReader(queryText));
750 protected Query getFieldQuery(String field, String queryText, int slop) argument
752 Query query = hasNewAPI ? getFieldQuery(field, queryText, true) : getFieldQuery(field, queryText);
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/
H A DQueryParserWrapper.java412 protected Query getFieldQuery(String field, String queryText) throws ParseException { argument
413 return getFieldQuery(field, queryText, true);
419 protected Query getFieldQuery(String field, String queryText, boolean quoted) argument
436 protected Query getFieldQuery(String field, String queryText, int slop) argument
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/
H A DTextField.java169 static Query parseFieldQuery(QParser parser, Analyzer analyzer, String field, String queryText) { argument
180 source = analyzer.reusableTokenStream(field, new StringReader(queryText));
183 source = analyzer.tokenStream(field, new StringReader(queryText));
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/complexPhrase/
H A DComplexPhraseQueryParser.java76 protected Query getFieldQuery(String field, String queryText, int slop) { argument
77 ComplexPhraseQuery cpq = new ComplexPhraseQuery(field, queryText, slop);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/
H A DSolrPluginUtils.java850 protected Query getFieldQuery(String field, String queryText, boolean quoted) argument
865 Query sub = getFieldQuery(f,queryText,quoted);
878 return super.getFieldQuery(field, queryText, quoted);
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/queryParser/
H A DQueryParserTestBase.java982 protected Query getFieldQuery(String field, String queryText, boolean quoted) throws ParseException {
984 return super.getFieldQuery(field, queryText, quoted);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/queryParser/
H A DQueryParserTestBase.java974 protected Query getFieldQuery(String field, String queryText, boolean quoted) throws ParseException {
976 return super.getFieldQuery(field, queryText, quoted);

Completed in 57 milliseconds