[Xapian-discuss] retrieving attributes of searchresults
James Aylett
james-xapian at tartarus.org
Tue Jan 31 14:11:32 GMT 2006
On Tue, Jan 31, 2006 at 02:07:07PM +0000, Matthias Zeichmann wrote:
> i use the perl interface of Search::Xapian to index documents, now i
> got metadata i store with the index like title, date, author, .. and
> i wonder how to retrieve them from the index again without pulling
> them from the database.
I don't know how the perl bindings work, but the usual way to store
metadata is to structure the Xapian::Document data field. See the
documentation with omega for an example, but you could stuff anything
in there - serialised perl, XML, whatever.
J
--
/--------------------------------------------------------------------------\
James Aylett xapian.org
james at tartarus.org uncertaintydivision.org
More information about the Xapian-discuss
mailing list