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="16.1", 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: 26157 $ $Date: 2024-01-13 11:35:03 -0300 (Sat, 13 Jan 2024) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Collection<SearchContentAttachment>
getSearchContentAttachments()
Deprecated.Returns the search content attachments to be used for indexing this object.java.util.List<SearchContentField>
getSearchContentFields()
Deprecated.Returns the search content fields to be used for indexing this object.
-
-
-
Method Detail
-
getSearchContentFields
java.util.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
java.util.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
-
-