[Xapian-discuss] Re: Practical example/explanation using an existing database

James Aylett james-xapian at tartarus.org
Wed Jul 25 17:53:04 BST 2007


On Wed, Jul 25, 2007 at 04:52:37PM +0100, John Wards wrote:

> Here is some sample PHP code to build an index. Not perfect but works
> and should give you a kick start....

Can I suggest that you use document data as a field store, rather than
document values? That way you can give them textual names, instead of
mapping to numbers.

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list