Re: Index filtering by filename
aidan <[email protected]> Sun, 1 May 2022 09:04:28 -0500
| Newsgroups | gmane.comp.search.xapian.general |
|---|---|
| Message-ID | <[email protected]> |
Thank you Olly, this option worked very well! Aidan 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