Interface DocumentIndexing

  • All Known Subinterfaces:
    AttachmentService
    All Known Implementing Classes:
    SimpleDocumentService

    public interface DocumentIndexing
    This interface is for services wanting the documents referred by an index entry to be also indexed. Any implementation of this interface has to enrich the index entry with the documents to index. These documents will be then parsed by the indexing engine.

    Some times, some documents are attached to a contribution to index and it can be then useful to index also the documents themselves. As the indexing engine doesn't know how to get such documents, it delegates this task to the services with this knowledge. For doing, such services have to implement this interface. The indexing engine will then invoke all the implementation but only one must enrich the index entry.
    Author:
    mmoquillon
    • Method Detail

      • updateIndexEntryWithDocuments

        void updateIndexEntryWithDocuments​(FullIndexEntry indexEntry)