Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3894

Documentation update needed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • documentation
    • None

    Description

      In this documentation: https://cwiki.apache.org/confluence/display/TIKA/TikaServer, sections: Filtering Metadata Keys and Filtering Metadata Objects, I believe the <param> and <string> elements in the configuration examples need to be changed to <include> and <field> elements respectively. Here's an example of something I tested for filtering metadata keys:

        ...
        <metadataFilters>
          <metadataFilter class="org.apache.tika.metadata.filter.IncludeFieldMetadataFilter">
            <params>
              <include>
                <field>extended-properties:Application</field>
                <field>xmpTPg:NPages</field>
                <field>meta:page-count</field>
                <field>meta:line-count</field>
                <field>X-TIKA:content</field>
              </include>
            </params>
          </metadataFilter>
        </metadataFilters>
      ...
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ethanw Ethan Wilansky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: