Index filtering by filename

aidan aidan at
Sun May 1 15:04:28 BST 2022

Thank you Olly, this option worked very well!


On 05/01/2022 12:11 AM, Olly Betts wrote:
> On Thu, Apr 28, 2022 at 09:31:12PM -0500, aidan wrote:
>> Is it possible to filter, skip, or ignore specific files by name instead of
>> MIME type? I run an Apache web server with multiple "index.html" files in
>> various sub directories that I would prefer were not included in the omindex
>> database.
> This should work:
> omindex --mime-type-match=index.html:ignore [other options]
> This gets checked before MIME type mappings based on extension, so other
> HTML files will still get handled as normal.
> Cheers,
>      Olly

More information about the Xapian-discuss mailing list