[Xapian-discuss] Newbie ?? re: case-sensitive file extensions
Olly Betts
olly at survex.com
Fri Dec 7 22:13:52 GMT 2007
On Fri, Dec 07, 2007 at 11:52:50AM -0800, Jonathan Mergy wrote:
> All is well and we are using Xapian / Omega but I am unsure how to modify
> the extensions so I can avoid this when I omindex due to the case of the
> file extension for PDF.
>
> [Entering directory /somedirectory]
> Unknown extension: "/somefile.PDF" - skipping
>
> Lowercase .pdf is fine. I have searched the list archives and haven't found
> anything. Any help appreciated -
The mapping from extension to mime-type should probably be case
insensitive, but for now you can just use the --mime-type option to
omindex to specify the uppercase versions of extensions:
http://www.xapian.org/docs/omega/overview.html
Cheers,
Olly
More information about the Xapian-discuss
mailing list