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 6AF4795A5 for ; Tue, 26 Jun 2012 01:36:45 +0000 (UTC) Received: (qmail 50914 invoked by uid 500); 26 Jun 2012 01:36:44 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 50855 invoked by uid 500); 26 Jun 2012 01:36:44 -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 50845 invoked by uid 99); 26 Jun 2012 01:36:44 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2012 01:36:44 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 9F46E1418F1 for ; Tue, 26 Jun 2012 01:36:43 +0000 (UTC) Date: Tue, 26 Jun 2012 01:36:43 +0000 (UTC) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Message-ID: <538999944.54509.1340674603654.JavaMail.jiratomcat@issues-vm> In-Reply-To: <881535183.54497.1340674244256.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (SOLR-3577) better javadocs and error messages related to global/fieldtype SimilarityFactory usage 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/SOLR-3577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man updated SOLR-3577: --------------------------- Attachment: SOLR-3577.patch patch file showing the main ideas * add javadocs to SchemaSimilarityFactory clarifying how it's different from DefaultSimilarityFactory * add javadocs to SimilarityFactory, document that if subclasses are SchemaAware then they need to do something useful with per-fieldtype Similarities * make IndexSchema complain if there are per-fieldtype similarities configured, but the global similarity factory isn't SchemaAware * new test for hte new error checking in IndexSchema * fix existing tests that had were configuring per fieldtype similarities that were being ignored * simplify example schema.xml, and link to wiki for more details > better javadocs and error messages related to global/fieldtype SimilarityFactory usage > -------------------------------------------------------------------------------------- > > Key: SOLR-3577 > URL: https://issues.apache.org/jira/browse/SOLR-3577 > Project: Solr > Issue Type: Improvement > Reporter: Hoss Man > Assignee: Hoss Man > Fix For: 4.0 > > Attachments: SOLR-3577.patch > > > offshoot of an IRC conversation i had with rmuir while working on SOLR-2600 because i cloudn't understand the reason for not defaulting to SchemaSimilarityFactory. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa 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