[Xapian-discuss] get_data not fast enough for query matches

James Aylett james-xapian at tartarus.org
Thu Feb 2 10:38:51 GMT 2006


On Wed, Feb 01, 2006 at 08:56:15PM +0000, Salem Berhanu wrote:

> I have just finnished indexing ~ 3 million records. The query finds
> matches within a reasonable amount of time. However trying to get my
> document id using get_data takes too long. I am beginning to think
> it's impossible to do this for the whole match result especially if
> the result is in the thousands and above. I need to find the id
> using get_data since that's how I identify the document. Is there
> anyway of doing this fast enough? or do I have to break the result
> up? I am curious how others deal with this?

What are you actually trying to achieve? If you're linking to an
external database, an alternative would be to add the Xapian docid to
the database. What else have you put into the document data? And
what's your actual application?

Cheers,
James

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



More information about the Xapian-discuss mailing list