Package | Description |
---|---|
gate.creole.annic.lucene | |
gate.creole.ir |
Modifier and Type | Method and Description |
---|---|
List<?>[] |
QueryParser.createTerms(String elem) |
List<String> |
QueryParser.findTokens(String query)
Given a query this method returns tokens.
|
Query[] |
QueryParser.parse(String field,
String query,
String baseTokenAnnotationType,
String corpusID,
String annotationSetToSearchIn)
Given a query, this method parses it to convert it into one or more
lucene queries.
|
static List<String> |
SubQueryParser.parseQuery(String q1)
this method parses the query and returns the different queries
converted into the OR normalized form
for e.g.
|
int |
PatternValidator.validate(List<String> queryTokens,
List<Token> annotations,
int from,
QueryParser queryParser)
This method takes two parameters the actual query issued and
annotations in which it checks if the annotations exist that are
validating for the given query
|
Modifier and Type | Method and Description |
---|---|
QueryResultList |
Search.search(String query)
Search in corpus with this query.
|
QueryResultList |
Search.search(String query,
int limit)
Search in corpus with this query.
|
QueryResultList |
Search.search(String query,
int limit,
List<String> fieldNames)
Search in corpus with this query.
|
QueryResultList |
Search.search(String query,
List<String> fieldNames)
Search in corpus with this query.
|
Copyright © 2024 GATE. All rights reserved.