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

Plucene::Search::TermQuery - a query that matches terms beginning with a string

Description

       A query that matches a document containing terms beginning with the given string.

   to_string
               $q->to_string

       Convert the query to a readable string format

   sum_squared_weights
       The sum sqaured weights of the query.

   normalize
       Normalize the query.

perl v5.36.0                                       2022-12-04                  Plucene::Search::PrefixQuery(3pm)

Name

       Plucene::Search::TermQuery - a query that matches terms beginning with a string

Synopsis

               # isa Plucene::Search::Query

               $prefix_query->normalize($norm);

               my       $ssw = $prefix_query->sum_squared_weights($searcher);
               my $as_string = $prefix_query->to_string($field);

See Also