phpman > man > Plucene::Search::Similarity(3pm)

Markdown | JSON | MCP    

NAME
    Plucene::Search::Similarity - the score of a query

DESCRIPTION
    The score of a query for a given document.

METHODS
  norm
            my $norm = $sim->norm($num_term);

  byte_norm
            my $byte_norm = $sim->byte_norm($byte);

  tf
    Computes a score factor based on a term or phrase's frequency in a document.

  idf
    Computes a score factor for a phrase.

  coord
    Computes a score factor based on the fraction of all query terms that a document contains.

Generated by phpman v3.7.19 Author: Che Dong Under GNU General Public License
2026-06-12 00:32 @216.73.216.196
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!