lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] Updated: (LUCENE-577) SweetSpotSimiliarity
Date Wed, 24 May 2006 00:55:30 GMT
     [ ]

Hoss Man updated LUCENE-577:

    Attachment: ss.patch

patch file containing class and test cases

> SweetSpotSimiliarity
> --------------------
>          Key: LUCENE-577
>          URL:
>      Project: Lucene - Java
>         Type: New Feature

>   Components: Search
>     Reporter: Hoss Man
>     Priority: Minor
>  Attachments: ss.patch
> This is a new Similarity implimention for the contrib/miscellaneous/ package, it provides
a Similiarty designed for people who know the "sweetspot" of their data.  three major pieces
of functionality are included:
> 1) a lengthNorm which creates a "platuea" of values.
> 2) a baseline tf that provides a fixed value for tf's up to a minimum, at which point
it becomes a sqrt curve (this is used by the tf(int) function.
> 3) a hyperbolic tf function which is best explained by graphing the equation.  this isn't
used by default, but is available for subclasses to call from their own tf functions.
> All constants used in all functions are configurable.  In the case of lengthNorm, the
constants are configurable per field, as well as allowing for defaults for unspecified fields.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message