lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Resolved] (LUCENE-4801) Documentation is incorrect for org.apache.lucene.misc.SweetSpotSimilarity
Date Tue, 26 Feb 2013 18:36:12 GMT


Hoss Man resolved LUCENE-4801.

       Resolution: Fixed
    Fix Version/s: 5.0

Committed revision 1450342.
Committed revision 1450344.

> Documentation is incorrect for org.apache.lucene.misc.SweetSpotSimilarity
> -------------------------------------------------------------------------
>                 Key: LUCENE-4801
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/other
>    Affects Versions: 4.0-ALPHA
>            Reporter: Andrew Schoen
>            Assignee: Hoss Man
>            Priority: Minor
>              Labels: documentation
>             Fix For: 4.2, 5.0
> The documentation for SweetSpotSimilarity says that you can configure a global min/max
and also a min/max per field, however at looking at the source and just trying to accomplish
this it looks as though it's not possible.  Is that correct?
> I looked into using SchemaSimilarityFactory as a global Similarity and then using SweetSpotSimilarity
on a fieldType, but was not able to configure the min and max values.  Is there a way to accomplish
that without writing my own SweetSpotSimilarityFactory?
> Thanks.

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

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

View raw message