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.xapian.org/docs/overview.html ), "You access a Quartz database using Xapian::Database 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/blog/
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_2fHowToCreateAFlintDatabase Cheers, Olly
richard@lemurconsulting.com
2006-Sep-28 15:21 UTC
[Xapian-discuss] Using flint with perl bindings
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.xapian.org/docs/overview.html ), > "You access a Quartz database using Xapian::Database 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
On 9/28/06, Olly Betts <olly@survex.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_2fHowToCreateAFlintDatabase >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/blog/