-
-
27 Oct 2007 19:46:10 UTC
- Development release
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (5)
- Testers (21 / 5 / 2)
- Kwalitee
Bus factor: 0- License: perl_5
- Activity
24 month- Tools
- Download (460.82KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Marvin Humphrey <marvin at rectangular dot com>
- Dependencies
- Compress::Zlib
- HTML::Parser
- Lingua::Stem::Snowball
- Lingua::StopWords
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
KinoSearch::Search::TermQuery - Match individual Terms.
SYNOPSIS
my $term = KinoSearch::Index::Term->new( $field, $term_text ); my $term_query = KinoSearch::Search::TermQuery->new( term => $term, ); my $hits = $searcher->search( query => $term_query );
DESCRIPTION
TermQuery is a subclass of KinoSearch::Search::Query for matching individual Terms. Note that since Term objects are associated with one and only one field, so are TermQueries.
METHODS
new
my $term_query = KinoSearch::Search::TermQuery->new( term => $term, );
Constructor. Takes hash-style parameters:
term - a KinoSearch::Index::Term.
COPYRIGHT
Copyright 2005-2007 Marvin Humphrey
LICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch version 0.20.
Module Install Instructions
To install KinoSearch, copy and paste the appropriate command in to your terminal.
cpanm KinoSearch
perl -MCPAN -e shell install KinoSearch
For more information on module installation, please visit the detailed CPAN module installation guide.