[Xapian-discuss] Flint problem

Olly Betts olly at survex.com
Tue Aug 30 12:54:08 BST 2005


On Wed, Aug 24, 2005 at 10:16:27PM +0200, roki roki wrote:
> what is correct way to create Flint database with Perl. I have tried :
> $ENV{'XAPIAN_PREFER_FLINT'} = "1";
> and also
> Env::C::setenv('XAPIAN_PREFER_FLINT', 1);
> but Quartz database is always created. If I convert existing Quartz database
> with XAPIAN_PREFER_FLINT=1 copydatabase <qdir> <fdir> then is  Flint
> database created.

I would expect setting the environmental variable from inside Perl to
work, but it seems it doesn't from what you're saying.

Are you able to simply set it from outside Perl like so:

XAPIAN_PREFER_FLINT=1 perl your_script.pl

Cheers,
    Olly



More information about the Xapian-discuss mailing list