Package org.ametys.web.indexing.solr
Interface AdditionalWebDataIndexer
- All Superinterfaces:
AdditionalDataIndexer
- All Known Implementing Classes:
AIAdditionalDataIndexer
Index additional items on already indexed object (content, resources...) on web context
-
Field Summary
Fields inherited from interface org.ametys.cms.indexing.solr.AdditionalDataIndexer
TYPE_CONTENT, TYPE_RESOURCE, TYPE_TRASH_ELEMENT -
Method Summary
Modifier and TypeMethodDescriptiongetUnindexSitemapQuery(String type, String siteName, String sitemapName) The solr query that returns the documents to delete when unindexing all items of the given type in the given sitegetUnindexSiteQuery(String type, String siteName) The solr query that returns the documents to delete when unindexing all items of the given type in the given siteMethods inherited from interface org.ametys.cms.indexing.solr.AdditionalDataIndexer
getSchemaDefinitions, getSupportedTypes, getUnindexAllQuery, getUnindexObjectQuery, indexAdditionalDocuments
-
Method Details
-
getUnindexSiteQuery
The solr query that returns the documents to delete when unindexing all items of the given type in the given site- Parameters:
type- The type of the items to unindexsiteName- The site name of the items to unindex- Returns:
- The solr query that returns the documents to delete. Can be null
- Throws:
Exception- If an error occurs while building the queries
-
getUnindexSitemapQuery
The solr query that returns the documents to delete when unindexing all items of the given type in the given site- Parameters:
type- The type of the items to unindexsiteName- The site name of the items to unindexsitemapName- The sitemap name of the items to unindex- Returns:
- The solr query that returns the documents to delete. Can be null
- Throws:
Exception- If an error occurs while building the queries
-