[ 
https://issues.apache.org/jira/browse/TIKA-4246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emil Zegers updated TIKA-4246:
------------------------------
    Description: 
Would be useful to have the possibility to configure FileSystemFetcher for 
tika-pipes to only process certain files, e.g. based on extension, match on 
file name/path or similar pattern.
 
This way it would be possible to point to a specific root folder and only 
process matching files like certain extensions, names (e.g. for GIS files like 
shapefiles there is same name with multiple extensions) etc.
 
Something like:
 
{code:java}
<properties>
  <fetchers>
    <fetcher class="org.apache.tika.pipes.fetcher.fs.FileSystemFetcher">
      <params>
        <name>fsf</name>
        <basePath>/my/base/path1</basePath>
        <pattern>myshapefilename.*</pattern>
      </params>
    </fetcher>
  </fetchers>
</properties>{code}
 
Or:
 
{code:java}
        <pattern>*.doc*,*.pdf</pattern>{code}

  was:
Would be useful to have the possibility to configure FileSystemFetcher for 
tika-pipes to only process certain files, e.g. based on extension, match on 
file name/path or similar pattern.
 
This way it would be possible to point to a specific root folder and only 
process matching files like certain extensions, names (e.g. for GIS files like 
shapefiles there is same name with multiple extensions) etc.
 
Something like:
 
<properties>
  <fetchers>
    <fetcher class="org.apache.tika.pipes.fetcher.fs.FileSystemFetcher">
      <params>
        <name>fsf</name>
        <basePath>/my/base/path1</basePath>
        <pattern>myshapefilename.*</pattern>
      </params>
    </fetcher>
  </fetchers>
</properties>
 
Or:
 
        <pattern>*.doc*,*.pdf</pattern>


> tika-pipes FileSystemFetcher configuration option for file name/path pattern 
> selection
> --------------------------------------------------------------------------------------
>
>                 Key: TIKA-4246
>                 URL: https://issues.apache.org/jira/browse/TIKA-4246
>             Project: Tika
>          Issue Type: New Feature
>          Components: tika-pipes
>            Reporter: Emil Zegers
>            Priority: Major
>
> Would be useful to have the possibility to configure FileSystemFetcher for 
> tika-pipes to only process certain files, e.g. based on extension, match on 
> file name/path or similar pattern.
>  
> This way it would be possible to point to a specific root folder and only 
> process matching files like certain extensions, names (e.g. for GIS files 
> like shapefiles there is same name with multiple extensions) etc.
>  
> Something like:
>  
> {code:java}
> <properties>
>   <fetchers>
>     <fetcher class="org.apache.tika.pipes.fetcher.fs.FileSystemFetcher">
>       <params>
>         <name>fsf</name>
>         <basePath>/my/base/path1</basePath>
>         <pattern>myshapefilename.*</pattern>
>       </params>
>     </fetcher>
>   </fetchers>
> </properties>{code}
>  
> Or:
>  
> {code:java}
>         <pattern>*.doc*,*.pdf</pattern>{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to