public class ContentSearcher extends ContentBase
DOC_CONTENT, DOC_ID, DOC_LABEL, DOC_LANGUAGE_CODE, DOC_STRATEGY_ID, DOC_STRATEGY_LABEL, DOC_TYPE, DOC_URL| Constructor and Description |
|---|
ContentSearcher(WebServerConfig webServerConfig) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DocumentationSearchResult> |
search(java.lang.String search)
Search in the help content.
|
getIndexPathpublic ContentSearcher(WebServerConfig webServerConfig)
public java.util.List<DocumentationSearchResult> search(java.lang.String search) throws java.io.IOException, org.apache.lucene.queryparser.classic.ParseException
search - the query searchjava.io.IOException - is an error is occurred to read indexed fileorg.apache.lucene.queryparser.classic.ParseException - if the search parameter is malformed