The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

KinoSearch::Plan::StringType - Non-tokenized text type.

DEPRECATED

The KinoSearch code base has been assimilated by the Apache Lucy project. The "KinoSearch" namespace has been deprecated, but development continues under our new name at our new home: http://lucy.apache.org/

SYNOPSIS

    my $type   = KinoSearch::Plan::StringType->new;
    my $schema = KinoSearch::Plan::Schema->new;
    $schema->spec_field( name => 'category', type => $type );

DESCRIPTION

KinoSearch::Plan::StringType is used for "exact-match" strings.

CONSTRUCTORS

new()

    my $type = KinoSearch::Plan::StringType->new(
        boost    => 0.1,    # default: 1.0
        indexed  => 1,      # default: true
        stored   => 1,      # default: true
        sortable => 1,      # default: false
    );
  • boost - floating point per-field boost.

  • indexed - boolean indicating whether the field should be indexed.

  • stored - boolean indicating whether the field should be stored.

  • sortable - boolean indicating whether the field should be sortable.

INHERITANCE

KinoSearch::Plan::StringType isa KinoSearch::Plan::TextType isa KinoSearch::Plan::FieldType isa KinoSearch::Object::Obj.

COPYRIGHT AND LICENSE

Copyright 2005-2011 Marvin Humphrey

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