plucene::search::datefilter(3pm) debian man page | unix.com

Man Page: plucene::search::datefilter

Operating Environment: debian

Section: 3pm

Plucene::Search::DateFilter(3pm)			User Contributed Perl Documentation			  Plucene::Search::DateFilter(3pm)

NAME
Plucene::Search::DateFilter - Restrict searches to given time periods
SYNOPSIS
my $filter = Plucene::Search::DateFilter->new({ field => "date", from => Time::Piece $from, to => Time::Piece $to }) my $hits = $searcher->search($query, $filter);
DESCRIPTION
This class can restrict the results of a search to a set of dates. This requires a field to have been indexed using Plucene::Document::DateSerializer. See the documentation for that module for how to do this.
METHODS
new my $filter = Plucene::Search::DateFilter->new({ field => "date", from => Time::Piece $from, to => Time::Piece $to }) This creates a new filter. Either of "from" or "to" are optional. bits This is used by the searcher to iterate over the documents and return a bitfield specifying which documents are included in the range. perl v5.12.4 2011-08-14 Plucene::Search::DateFilter(3pm)
Related Man Pages
plucene(3pm) - debian
plucene::index::fieldinfos(3pm) - debian
plucene::index::reader(3pm) - debian
plucene::index::segmentinfos(3pm) - debian
plucene::search::termquery(3pm) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
Introduction
Weird 'find' results
A (ksh) Library For and From UNIX.com
My first PERL incarnation... Audio Oscillograph