[Xapian-discuss] Returning special terms/postings

Josef Novak josef.robert.novak at gmail.com
Mon May 7 04:19:52 BST 2007


  I was wondering if it is possible to return a particular indexed
term from a search result.  I have a special prefixed term index value
"XINDEX" which I store for each document I index (this differs from
the index value that xapian automatically adds at indexing time, and
is not necessarily unique).  I would like to return this index value,
instead of the actual document, as the result of a query.  The
prefixed term will not be included as a part of the query itself.  I
tried using termlist_begin() and get_termname() but I am either using
these wrongly or this does not work.  I want to return the term based
on its position in the termlist (i always index it at the first

   Does this make sense?  Is this possible?


More information about the Xapian-discuss mailing list