Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97D30ED0A for ; Tue, 26 Feb 2013 18:42:15 +0000 (UTC) Received: (qmail 10787 invoked by uid 500); 26 Feb 2013 18:42:13 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 10694 invoked by uid 500); 26 Feb 2013 18:42:13 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 10620 invoked by uid 99); 26 Feb 2013 18:42:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2013 18:42:13 +0000 Date: Tue, 26 Feb 2013 18:42:13 +0000 (UTC) From: "Commit Tag Bot (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-4801) Documentation is incorrect for org.apache.lucene.misc.SweetSpotSimilarity MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587379#comment-13587379 ] Commit Tag Bot commented on LUCENE-4801: ---------------------------------------- [branch_4x commit] Chris M. Hostetter http://svn.apache.org/viewvc?view=revision&revision=1450344 LUCENE-4801: lingering doc remnants from pre-4.0 similarity API (merge r1450342) > Documentation is incorrect for org.apache.lucene.misc.SweetSpotSimilarity > ------------------------------------------------------------------------- > > Key: LUCENE-4801 > URL: https://issues.apache.org/jira/browse/LUCENE-4801 > 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: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org