[Xapian-discuss] docx support

Olly Betts olly at survex.com
Thu Jul 24 15:24:44 BST 2008


On Thu, Jul 24, 2008 at 11:12:31PM +0930, Frank Bruzzaniti wrote:
> I added a mime type in omindex.cc but when I run it I get this:
> 
> Indexing "/Test.docx" as 
> application/vnd.openxmlformats-officedocument.wordprocessingml.document 
> ... unknown MIME type - skipping
> 
> what other source files do I need to look at?

None - this is all omindex.cc.

It sounds like you've added it to mime_map so that .docx is converted to
that mime-type, but not added an "else if" case to actually handle the
new mime-type.  The new FAQ entry covers that too.

If that's not it, send a patch of your change (diff -u format).

Cheers,
    Olly



More information about the Xapian-discuss mailing list