public class QueryParser extends Object
Constructor and Description |
---|
QueryParser() |
Modifier and Type | Method and Description |
---|---|
static Query |
parseQuery(String query)
Parse the specified query.
|
static void |
parseQuery(String query,
Request srq)
Parse the query specified in String query, and use it for the specified search request.
|
public static void parseQuery(String query, Request srq) throws QueryParserException
query
- The string query to parsesrq
- The request object that the manager can useQueryParserException
- when the query cannot be parsedpublic static Query parseQuery(String query) throws QueryParserException
query
- The string query to parseQueryParserException
- when the query cannot be parsedTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow