[Xapian-discuss] get the title from the document

James Aylett james-xapian at tartarus.org
Sat Nov 3 14:11:49 GMT 2012


On 3 Nov 2012, at 04:36, jack young <young.2004 at yahoo.com> wrote:

> I am working on a very simple project, in which I wanna get the title from the document.

Jack – generally, everything you want to use for displaying results (or whatever you do with them at search time) should be stored in document data, *not* in values (which are for other purposes). See <http://getting-started-with-xapian.readthedocs.org/en/latest/concepts/indexing/documents.html>; you'll need to use some sort of structured format (eg: JSON, YAML or similar) to store multiple pieces of information.

J

-- 
 James Aylett, occasional trouble-maker
 xapian.org




More information about the Xapian-discuss mailing list