logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

KinoSearch1::Index::Term - string of text associated with a field

Description

       The Term is the unit of search.  It has two characteristics: a field name, and term text.

License, Disclaimer, Bugs, Etc.

       See KinoSearch1 version 1.01.

perl v5.40.0                                       2024-10-20                      KinoSearch1::Index::Term(3pm)

Methods

new
           my $term = KinoSearch1::Index::Term->new( FIELD_NAME, TERM_TEXT );

       Constructor.

   set_textget_textset_fieldget_field
       Getters and setters.

   to_string
       Returns a string representation of the Term object.

Name

       KinoSearch1::Index::Term - string of text associated with a field

Synopsis

           my $foo_term   = KinoSearch1::Index::Term->new( 'content', 'foo' );
           my $term_query = KinoSearch1::Search::TermQuery->new( term => $foo_term );

See Also