17 Dec 2009 07:27:04 UTC
- Development release
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (5)
- Testers (41 / 0 / 8)
- KwaliteeBus factor: 0
- License: perl_5
- Activity24 month
- Download (810.65KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionCREAMYG Marvin Humphreyand 1 contributors
- Marvin Humphrey <marvin at rectangular dot com>
KinoSearch::Search::TermQuery - Query which matches individual terms.
my $term_query = KinoSearch::Search::TermQuery->new( field => 'content', term => 'foo', ); my $hits = $searcher->hits( query => $term_query );
Query which matches individual terms.
TermQuery is a subclass of KinoSearch::Search::Query for matching individual terms in a specific field.
my $term_query = KinoSearch::Search::TermQuery->new( field => 'content', # required term => 'foo', # required );
field - Field name.
term - Term text.
Copyright 2005-2009 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.