[Xapian-discuss] unknown MIME type 'message/rfc822' - skipping
Asif Iqbal
vadud3 at gmail.com
Mon Jan 17 02:54:20 GMT 2011
On Sun, Jan 16, 2011 at 7:25 PM, Olly Betts <olly at survex.com> wrote:
> On Sun, Jan 16, 2011 at 03:03:57PM -0500, Asif Iqbal wrote:
>> Is it possible to omindex message/rfc822 type files?
>
> There's not any explicit support currently, but if you have a suitable
> filter program for extracting text from a file format, it's pretty
> easy to use it (especially as you're using 1.2.4):
>
yes I am using 1.2.4
# omindex -V
omindex - xapian-omega 1.2.4
> http://trac.xapian.org/wiki/FAQ/OmegaNewFileFormat
I am not sure how do I write a filter for message/rfc822
>
>> I can index them fine using `mu' (came with ubuntu pkg maildir-utils)
>
> If mu produces a database which is compatible with Omega, you could
> just index with mu and search with Omega (I don't know if it does or
> not though).
It does produce a xapian database. I tried to index it using omindex
and it gives
this error
unknown MIME type 'application/octet-stream' - skipping
so I added --filter=application/octet-stream:'strings -n8'
It came back with no error.
But then when I wanted to search for it through the web gui I get one result.
mu find from:vadud3 gives 20 results.
>
> Cheers,
> Olly
>
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
More information about the Xapian-discuss
mailing list