public interface Search
Modifier and Type | Method and Description |
---|---|
QueryResultList |
search(String query)
Search in corpus with this query.
|
QueryResultList |
search(String query,
int limit)
Search in corpus with this query.
|
QueryResultList |
search(String query,
int limit,
List<String> fieldNames)
Search in corpus with this query.
|
QueryResultList |
search(String query,
List<String> fieldNames)
Search in corpus with this query.
|
void |
setCorpus(IndexedCorpus ic)
Sets coprus in which will doing search operations.
|
void setCorpus(IndexedCorpus ic)
QueryResultList search(String query) throws IndexException, SearchException
IndexException
SearchException
QueryResultList search(String query, int limit) throws IndexException, SearchException
IndexException
SearchException
QueryResultList search(String query, List<String> fieldNames) throws IndexException, SearchException
IndexException
SearchException
QueryResultList search(String query, int limit, List<String> fieldNames) throws IndexException, SearchException
IndexException
SearchException
Copyright © 2024 GATE. All rights reserved.