Class TikaSearchProvider

java.lang.Object
org.apache.wiki.search.LuceneSearchProvider
org.apache.wiki.search.tika.TikaSearchProvider
All Implemented Interfaces:
org.apache.wiki.api.providers.WikiProvider, SearchProvider

Search provider that extends {link LuceneSearchProvider} using Apache Tika for indexing attachment content.
Since:
2.11.0
See Also:
  • Constructor Details

  • Method Details

    • getAttachmentContent

      protected String getAttachmentContent(org.apache.wiki.api.core.Attachment att)
      Overrides:
      getAttachmentContent in class LuceneSearchProvider
      Parameters:
      att - Attachment to get content for. Filename extension is used to determine the type of the attachment.
      Returns:
      String representing the content of the file.