[Xapian-discuss] How do I get the document ID while scanning through $enquire->matches() (in perl)?

James Aylett james-xapian at tartarus.org
Mon Feb 12 15:58:01 GMT 2007


On Mon, Feb 12, 2007 at 03:28:42PM +0000, Richard Boulton wrote:

> >What am I missing?
> 
> Use operator* to get the docid: from enquire.h:
> 
>         /// Get the document ID for the current position.
>         Xapian::docid operator*() const;

In Perl? :)

J

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



More information about the Xapian-discuss mailing list