程序包 | 说明 |
---|---|
org.opencms.main |
Provides the main OpenCms "operating system".
|
org.opencms.search |
Implements the main full text search and indexing functions available in OpenCms.
|
org.opencms.search.galleries |
Implements the search functions for the OpenCms Gallery search index,
which is used by the Advanced Direct Edit (ADE) functions.
|
org.opencms.search.solr |
限定符和类型 | 方法和说明 |
---|---|
protected void |
OpenCmsSolrHandler.initializeRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Initialized the search request and sets the local parameter.
|
限定符和类型 | 方法和说明 |
---|---|
org.apache.lucene.analysis.Analyzer |
CmsSearchManager.getAnalyzer(java.util.Locale locale)
Returns an analyzer for the given language.
|
void |
CmsSearchIndex.initialize()
Initializes the search index.
|
CmsSearchResultList |
CmsSearchIndex.search(CmsObject cms,
CmsSearchParameters params)
Performs a search on the index within the given fields.
|
限定符和类型 | 方法和说明 |
---|---|
CmsGallerySearchResultList |
CmsGallerySearchIndex.searchGallery(CmsObject cms,
CmsGallerySearchParameters params)
Performs a search on the gallery index.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsSolrIndex.initialize() |
CmsSolrResultList |
CmsSolrIndex.search(CmsObject cms,
CmsSolrQuery query)
Default search method.
|
CmsSolrResultList |
CmsSolrIndex.search(CmsObject cms,
CmsSolrQuery query,
boolean ignoreMaxRows)
Performs a search on the Solr index
Returns a list of 'OpenCms resource documents'
(
CmsSearchResource ) encapsulated within the class CmsSolrResultList . |
CmsSolrResultList |
CmsSolrIndex.search(CmsObject cms,
org.apache.solr.client.solrj.SolrQuery query)
Default search method.
|
CmsSolrResultList |
CmsSolrIndex.search(CmsObject cms,
java.lang.String solrQuery)
Performs a search.
|
void |
CmsSolrIndex.spellCheck(javax.servlet.ServletResponse res,
CmsObject cms,
CmsSolrQuery q)
Executes a spell checking Solr query and returns the Solr query response.
|