List Info

Thread: Using flint with perl bindings




Using flint with perl bindings
user name
2006-09-28 13:43:13
How does one create an search a flint backend using the perl
bindings? Right
now I create a database using the the perl object:
Search::Xapian::WritableDatabase using the CREATE_DB* modes.

According to the Overview doc ( http://www.x
apian.org/docs/overview.html ),
"You access a Quartz database using Xapian:atabase
and
Xapian::WritableDatabase objects" but does not say what
you use to create
and access a flint db.

Thanks in advance for your input.

-- 
John Wang
http://www.dev411.com/blo
g/
_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss
Using flint with perl bindings
user name
2006-09-28 14:14:29
On Thu, Sep 28, 2006 at 06:43:13AM -0700, John Wang wrote:
> How does one create an search a flint backend using the
perl bindings?

Just set an environmental variable - see:

http://wiki.xapian.org/FlintBackend_2fHowToCreate
AFlintDatabase

Cheers,
    Olly

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss
Using flint with perl bindings
user name
2006-09-28 14:21:25
On Thu, Sep 28, 2006 at 06:43:13AM -0700, John Wang wrote:
> How does one create an search a flint backend using the
perl bindings? Right
> now I create a database using the the perl object:
> Search::Xapian::WritableDatabase using the CREATE_DB*
modes.
> 
> According to the Overview doc ( http://www.x
apian.org/docs/overview.html ),
> "You access a Quartz database using Xapian:atabase
and
> Xapian::WritableDatabase objects" but does not say
what you use to create
> and access a flint db.
> 
> Thanks in advance for your input.

At present, there aren't explicit methods for creating flint
databases from
the perl (or other language) bindings.

You can cause xapian to create flint databases when no
particular database
type is requested by setting the environmental variable
XAPIAN_PREFER_FLINT
to a non-empty value.

-- 
Richard

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss
Using flint with perl bindings
user name
2006-09-28 14:33:39
On 9/28/06, Olly Betts <ollysurvex.com> wrote:
>
> On Thu, Sep 28, 2006 at 06:43:13AM -0700, John Wang
wrote:
> > How does one create an search a flint backend
using the perl bindings?
>
> Just set an environmental variable - see:
>
> http://wiki.xapian.org/FlintBackend_2fHowToCreate
AFlintDatabase
>

Thanks Olly and Richard. I just got it working. The wiki
looks useful and I
need to spend more time with it looking at the utf-8 support
now.

-- 
John Wang
http://www.dev411.com/blo
g/
_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )