Package lumis.doui.search.common
Interface ISearchable
-
- All Known Implementing Classes:
DocumentDataType.Data
,FileDataType.Data
,FilesDataType.Data
,HtmlDataType.Data
,ImageDataType.Data
,MediaDataType.Data
@Deprecated @StableMinor(version="14.2", sinceVersion="4.2.2") public interface ISearchable
Deprecated.Since 8.1.0,ISourceSearchContentFiller
has been deprecated and this interface is used only for backwards compatibility when legacyISourceSearchContentFiller
implementations are used. The replacement for this interface for use withISourceBigDataPersister
(ISourceSearchContentFiller
replacement) is to implement in the respective data type theISourceFieldDataType.getDocumentFieldValues(Object)
andISourceFieldDataType.getDocumentTypeFieldTemplates()
methods.Interface to be implemented by data objects that may be indexed and searched.- Since:
- 4.2.2
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Collection<SearchContentAttachment>
getSearchContentAttachments()
Deprecated.Returns the search content attachments to be used for indexing this object.List<SearchContentField>
getSearchContentFields()
Deprecated.Returns the search content fields to be used for indexing this object.
-
-
-
Method Detail
-
getSearchContentFields
List<SearchContentField> getSearchContentFields()
Deprecated.Returns the search content fields to be used for indexing this object.Note that the actual search content fields used are decided by the
ISourceSearchContentFiller
implementation used in the source. It may or may not use the fields returned by this method. This method provides only the default recommended search fields for this data.- Returns:
- the search content fields. Never returns
null
. May return an empty collection if no field is to be used for indexing this object. - Since:
- 4.2.2
-
getSearchContentAttachments
Collection<SearchContentAttachment> getSearchContentAttachments()
Deprecated.Returns the search content attachments to be used for indexing this object.Must never return
null
. May return an empty collection if no attachment is to be used for indexing this object.- Returns:
- the search content attachments.
- Since:
- 4.2.2
-
-