[Xapian-discuss] retrieving attributes of searchresults
Marcus Ramberg
marcus at startsiden.no
Tue Jan 31 14:20:29 GMT 2006
I tend to use Storable to stuff structures there (because it's
relatively fast)
Marcus
On 31. jan. 2006, at 15.11, James Aylett wrote:
> 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
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
More information about the Xapian-discuss
mailing list