KinoSearch::Search::RangeQuery man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

KinoSearch::Search::RaUseruContributed Perl DKinoSearch::Search::RangeQuery(3)

NAME
       KinoSearch::Search::RangeQuery - Match a range of values.

SYNOPSIS
	   # Match all articles by "Foo" published since the year 2000.
	   my $range_query = KinoSearch::Search::RangeQuery->new(
	       field	     => 'publication_date',
	       lower_term    => '2000-01-01',
	       include_lower => 1,
	   );
	   my $author_query = KinoSearch::Search::TermQuery->new(
	       field => 'author_last_name',
	       text  => 'Foo',
	   );
	   my $and_query = KinoSearch::Search::ANDQuery->new(
	       children => [ $range_query, $author_query ],
	   );
	   my $hits = $searcher->hits( query => $and_query );
	   ...

DESCRIPTION
       RangeQuery matches documents where the value for a particular field
       falls within a given range.

CONSTRUCTORS
   new( [labeled params] )
	   my $range_query = KinoSearch::Search::RangeQuery->new(
	       field	     => 'product_number', # required
	       lower_term    => '003',		  # see below
	       upper_term    => '060',		  # see below
	       include_lower => 0,		  # default true
	       include_upper => 0,		  # default true
	   );

       Takes 5 parameters; "field" is required, as is at least one of either
       "lower_term" or "upper_term".

       ·   field - The name of a "sortable" field.

       ·   lower_term - Lower delimiter.  If not supplied, all values less
	   than "upper_term" will pass.

       ·   upper_term - Upper delimiter.  If not supplied, all values greater
	   than "lower_term" will pass.

       ·   include_lower - Indicates whether docs which match "lower_term"
	   should be included in the results.

       ·   include_upper - Indicates whether docs which match "upper_term"
	   should be included in the results.

INHERITANCE
       KinoSearch::Search::RangeQuery isa KinoSearch::Search::Query isa
       KinoSearch::Object::Obj.

COPYRIGHT AND LICENSE
       Copyright 2005-2010 Marvin Humphrey

       This program is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.14.1			  2011-06-20 KinoSearch::Search::RangeQuery(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net