-
-
26 Jun 2006 23:41:58 UTC
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (5)
- Testers (7 / 1 / 0)
- Kwalitee
Bus factor: 0- License: perl_5
- Activity
24 month- Tools
- Download (205.68KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Marvin Humphrey <marvin at rectangular dot com>
- Dependencies
- Clone
- Compress::Zlib
- Lingua::Stem::Snowball
- Lingua::StopWords
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
KinoSearch::Index::Term - string of text associated with a field
SYNOPSIS
my $foo_term = KinoSearch::Index::Term->new( 'content', 'foo' ); my $term_query = KinoSearch::Search::TermQuery->new( term => $foo_term );
DESCRIPTION
The Term is the unit of search. It has two characteristics: a field name, and term text.
METHODS
new
my $term = KinoSearch::Index::Term->new( FIELD_NAME, TERM_TEXT );
Constructor.
set_text get_text set_field get_field
Getters and setters.
to_string
Returns a string representation of the Term object.
COPYRIGHT
Copyright 2005-2006 Marvin Humphrey
LICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch version 0.12.
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.