lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marvin Humphrey <mar...@rectangular.com>
Subject Re: [lucy-user] All entries?
Date Wed, 18 Sep 2013 23:16:17 GMT
On Wed, Sep 18, 2013 at 3:13 PM, Lee <leegee@gmail.com> wrote:

> Ah, DocReader in the Synopsis

Lucy::Search::MatchAllQuery might be another possibility.

  my $searcher = Lucy::Search::IndexSearcher->new(
    index => '/path/to/index',
  );
  my $hits = $searcher->hits(
    query => Lucy::Search::MatchAllQuery->new,
    num_wanted => $searcher->doc_max,
  );
  while (my $hit = $hits->next) {
    print "$hit->{title}\n";
  }

> It's really hard to Google a common word like Lucy, ironically.

Yeah, I sometimes have more luck with 'apache lucy'.

Marvin Humphrey

Mime
View raw message