[Xapian-discuss] Anomaly in Xapian

The Dog's Bollix isxpro at yahoo.com
Fri Jul 1 23:26:59 BST 2011


Olly, 

Thanks for the super fast response. I"m using version 1.2.6 - sorry about not letting you know that. 

ldd `which omindex`|grep libmagic

That's the issue.

Back to reinstall! Thanks again for the great response time. 

Encee. 

--- On Fri, 7/1/11, Olly Betts <olly at survex.com> wrote:

From: Olly Betts <olly at survex.com>
Subject: Re: [Xapian-discuss] Anomaly in Xapian
To: "The Dog's Bollix" <isxpro at yahoo.com>
Cc: xapian-discuss at lists.xapian.org
Date: Friday, July 1, 2011, 5:18 PM

On Fri, Jul 01, 2011 at 01:36:28PM -0700, The Dog's Bollix wrote:
> The system creates the text file as expected. I added some
> content/words, however, xapian-omega will not index it:
> 
> [root at Eagle1 /]# omindex --db /var/lib/omega/data/default --url /media/NEW\ VOLUME/  /media/NEW\ VOLUME/
> Text File: Skipping - Unknown extension and unrecognised format
> 
> The file it's skipping over is a true text file: 
> 
> [root at Eagle1 NEW VOLUME]# file Text\ File
> Text File: ASCII text

You don't seem to say what version you're using, but if it's Omega 1.2.4
or later, and you've compiled it with libmagic support, this ought to
work.

What does this report?

file --mime-type Text\ File

And if you're using Omega >= 1.2.4, check if it's built with libmagic
support:

ldd `which omindex`|grep libmagic

If not, you'll need to install the appropriate package (probably
libmagic-devel, but I'm not very familiar with Fedora) and rebuilt
Omega.

Cheers,
    Olly


More information about the Xapian-discuss mailing list