monkfan has asked for the wisdom of the Perl Monks concerning the following question:
What should I change if the desired output to be:#! /usr/bin/perl -w use strict; use Plucene::Simple; use Data::Dumper; my %documents; my $index = Plucene::Simple->open( "~/MyPerl/QA/data/" ); for my $id (keys %documents) { $index->add($id => $documents{$id}); } $index->optimize; print Dumper \%documents;
$VAR1 = { "file1.txt" => "The content...", #etcetera };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Indexing Files with Plucene::Simple
by tall_man (Parson) on Nov 03, 2004 at 20:22 UTC | |
by monkfan (Curate) on Nov 04, 2004 at 02:25 UTC | |
by perrin (Chancellor) on Nov 04, 2004 at 15:19 UTC |