-
-
17 Dec 2009 07:27:04 UTC
- Development release
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (5)
- Testers (41 / 0 / 8)
- Kwalitee
Bus factor: 0- License: perl_5
- Activity
24 month- Tools
- Download (810.65KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Marvin Humphrey <marvin at rectangular dot com>
- Dependencies
- JSON::XS
- Lingua::Stem::Snowball
- Lingua::StopWords
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
KinoSearch::FieldType - Define a field's behavior.
SYNOPSIS
# abstract base class
DESCRIPTION
Define a field's behavior.
FieldType is an abstract class defining a set of traits and behaviors which may be associated with one or more field names.
METHODS
set_boost(boost)
Set a multiplier which determines how much a field contributes to a document's score. Default 1.0.
get_boost()
Accessor for "boost".
set_indexed(indexed)
Indicate whether the field should be indexed (so that it can be searched).
indexed()
Accessor for "indexed" property.
set_stored(stored)
Indicate whether to store the raw field value, so that it can be retrieved when a document turns up in a search.
stored()
Accessor for "stored" property.
binary()
Indicate whether the field contains binary data.
INHERITANCE
KinoSearch::FieldType isa KinoSearch::Obj.
COPYRIGHT AND LICENSE
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.
Module Install Instructions
To install KSx::Simple, copy and paste the appropriate command in to your terminal.
cpanm KSx::Simple
perl -MCPAN -e shell install KSx::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.