@Test public void TestQueryContents() throws IOException, InvalidMarkupException { QueryParser qp = new QueryParser(new StandardAnalyzer(), "contents"); qp.parse("[Contents 'hello']"); qp.parse("[Contents a,b,c]"); qp.parse("[Contents 'hello (abc)']"); qp.parse("[Contents 'hello (QTE)']"); qp.parse("[Contents 'hello (abc)','hello (QTE) ' ]"); qp.parse("[Contents 'Query Template Editor Reference','Overview of the Query Template Editor (QTE)']"); }
public Query parse(String s) throws IOException, InvalidMarkupException { return parse(new QueryTokenReader(s)); }
QueryParser { public Query parse(String s) throws IOException, InvalidMarkupException { return parse(new QueryTokenReader(s)); } }
QueryParser { public Query parse(String s) throws IOException, InvalidMarkupException { return parse(new QueryTokenReader(s)); } QueryParser(Analyzer analyzer, String defaultField); }
QueryParser { public Query parse(String s) throws IOException, InvalidMarkupException { return parse(new QueryTokenReader(s)); } QueryParser(Analyzer analyzer, String defaultField); Query parse(String s); Query parse(QueryTokenReader r); Query parse(List<QueryToken> tokens); Query parseSimpleQuery(String fieldName, String text); }
QueryParser { public Query parse(String s) throws IOException, InvalidMarkupException { return parse(new QueryTokenReader(s)); } QueryParser(Analyzer analyzer, String defaultField); Query parse(String s); Query parse(QueryTokenReader r); Query parse(List<QueryToken> tokens); Query parseSimpleQuery(String fieldName, String text);  }