Jonathan Mergy
2007-Dec-07 19:53 UTC
[Xapian-discuss] Newbie ?? re: case-sensitive file extensions
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 - Jonathan --------------------------- Jonathan Mergy <jmergy@powis.com> Director of IT, Powis Parker Inc. 775 Heinz Avenue Berkeley, CA 94710 Tel: 510-848-2463 x216 Fax: 510-295-2489
Olly Betts
2007-Dec-07 22:13 UTC
[Xapian-discuss] Newbie ?? re: case-sensitive file extensions
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