lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karman <pe...@peknet.com>
Subject Re: [lucy-user] document IDs
Date Tue, 24 Sep 2013 18:02:31 GMT
On 9/24/13 12:44 PM, Anil Pachuri wrote:

 > # something like:
 > my $docIDs = $hits->doc_ids;
 >

my @doc_ids;

while ( my $hit_doc = $hits->next ) {
     push @doc_ids, $hit_doc->get_doc_id();
}

https://metacpan.org/module/Lucy::Document::Doc

-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com

Mime
View raw message