DEFAULT_INTERVAL
Constructor and Description |
---|
DummyIndexer() |
Modifier and Type | Method and Description |
---|---|
void |
delete(long companyId,
String uid) |
void |
delete(Object object) |
String |
getClassName() |
String[] |
getClassNames()
Deprecated.
As of Wilberforce (7.0.x), replaced by
getSearchClassNames() |
Document |
getDocument(Object object) |
BooleanFilter |
getFacetBooleanFilter(String className,
SearchContext searchContext) |
BooleanQuery |
getFullQuery(SearchContext searchContext) |
IndexerPostProcessor[] |
getIndexerPostProcessors() |
String |
getPortletId()
Deprecated.
As of Wilberforce (7.0.x), replaced by
getClassName() |
String[] |
getSearchClassNames() |
String |
getSearchEngineId() |
String |
getSortField(String orderByCol) |
String |
getSortField(String orderByCol,
int sortType) |
Summary |
getSummary(Document document,
Locale locale,
String snippet)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getSummary(Document, String, PortletRequest,
PortletResponse) |
Summary |
getSummary(Document document,
String snippet,
PortletRequest portletRequest,
PortletResponse portletResponse) |
boolean |
hasPermission(PermissionChecker permissionChecker,
String entryClassName,
long entryClassPK,
String actionId) |
boolean |
isCommitImmediately() |
boolean |
isFilterSearch()
Return
true if the indexer participates in post-search
result filtering. |
boolean |
isIndexerEnabled() |
boolean |
isPermissionAware()
Returns
true if the indexer adds permission related filters
to the search query prior to execution |
boolean |
isStagingAware() |
boolean |
isVisible(long classPK,
int status) |
boolean |
isVisibleRelatedEntry(long classPK,
int status) |
void |
postProcessContextBooleanFilter(BooleanFilter contextBooleanFilter,
SearchContext searchContext) |
void |
postProcessContextQuery(BooleanQuery contextQuery,
SearchContext searchContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
postProcessContextBooleanFilter(BooleanFilter,
SearchContext) |
void |
postProcessSearchQuery(BooleanQuery searchQuery,
BooleanFilter fullQueryBooleanFilter,
SearchContext searchContext) |
void |
postProcessSearchQuery(BooleanQuery searchQuery,
SearchContext searchContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
postProcessSearchQuery(BooleanQuery, BooleanFilter,
SearchContext) |
void |
registerIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor) |
void |
reindex(Collection<Object> objects) |
void |
reindex(Object obj) |
void |
reindex(String[] ids) |
void |
reindex(String className,
long classPK) |
Hits |
search(SearchContext searchContext) |
Hits |
search(SearchContext searchContext,
String... selectedFieldNames) |
long |
searchCount(SearchContext searchContext) |
void |
setIndexerEnabled(boolean indexerEnabled) |
void |
unregisterIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor) |
public void delete(long companyId, String uid)
public String getClassName()
getClassName
in interface Indexer<Object>
@Deprecated public String[] getClassNames()
getSearchClassNames()
getClassNames
in interface Indexer<Object>
public Document getDocument(Object object)
getDocument
in interface Indexer<Object>
public BooleanFilter getFacetBooleanFilter(String className, SearchContext searchContext)
getFacetBooleanFilter
in interface Indexer<Object>
public BooleanQuery getFullQuery(SearchContext searchContext)
getFullQuery
in interface Indexer<Object>
public IndexerPostProcessor[] getIndexerPostProcessors()
getIndexerPostProcessors
in interface Indexer<Object>
@Deprecated public String getPortletId()
getClassName()
getPortletId
in interface Indexer<Object>
public String[] getSearchClassNames()
getSearchClassNames
in interface Indexer<Object>
public String getSearchEngineId()
getSearchEngineId
in interface Indexer<Object>
public String getSortField(String orderByCol)
getSortField
in interface Indexer<Object>
public String getSortField(String orderByCol, int sortType)
getSortField
in interface Indexer<Object>
@Deprecated public Summary getSummary(Document document, Locale locale, String snippet)
getSummary(Document, String, PortletRequest,
PortletResponse)
getSummary
in interface Indexer<Object>
public Summary getSummary(Document document, String snippet, PortletRequest portletRequest, PortletResponse portletResponse)
getSummary
in interface Indexer<Object>
public boolean hasPermission(PermissionChecker permissionChecker, String entryClassName, long entryClassPK, String actionId)
hasPermission
in interface Indexer<Object>
public boolean isCommitImmediately()
isCommitImmediately
in interface Indexer<Object>
public boolean isFilterSearch()
Indexer
true
if the indexer participates in post-search
result filtering.isFilterSearch
in interface Indexer<Object>
true
if the indexer participates in post-search
result filtering; false
otherwiseSearchResultPermissionFilter
public boolean isIndexerEnabled()
isIndexerEnabled
in interface Indexer<Object>
public boolean isPermissionAware()
Indexer
true
if the indexer adds permission related filters
to the search query prior to executionisPermissionAware
in interface Indexer<Object>
true
if the indexer adds permission related filters
to the search query prior to execution; false
otherwiseSearchPermissionChecker
public boolean isStagingAware()
isStagingAware
in interface Indexer<Object>
public boolean isVisible(long classPK, int status) throws Exception
public boolean isVisibleRelatedEntry(long classPK, int status) throws Exception
isVisibleRelatedEntry
in interface Indexer<Object>
Exception
public void postProcessContextBooleanFilter(BooleanFilter contextBooleanFilter, SearchContext searchContext) throws Exception
postProcessContextBooleanFilter
in interface Indexer<Object>
Exception
@Deprecated public void postProcessContextQuery(BooleanQuery contextQuery, SearchContext searchContext)
postProcessContextBooleanFilter(BooleanFilter,
SearchContext)
postProcessContextQuery
in interface Indexer<Object>
public void postProcessSearchQuery(BooleanQuery searchQuery, BooleanFilter fullQueryBooleanFilter, SearchContext searchContext)
postProcessSearchQuery
in interface Indexer<Object>
@Deprecated public void postProcessSearchQuery(BooleanQuery searchQuery, SearchContext searchContext)
postProcessSearchQuery(BooleanQuery, BooleanFilter,
SearchContext)
postProcessSearchQuery
in interface Indexer<Object>
public void registerIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor)
registerIndexerPostProcessor
in interface Indexer<Object>
public void reindex(Collection<Object> objects)
public void reindex(String className, long classPK)
public Hits search(SearchContext searchContext)
public Hits search(SearchContext searchContext, String... selectedFieldNames)
public long searchCount(SearchContext searchContext)
searchCount
in interface Indexer<Object>
public void setIndexerEnabled(boolean indexerEnabled)
setIndexerEnabled
in interface Indexer<Object>
public void unregisterIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor)
unregisterIndexerPostProcessor
in interface Indexer<Object>