lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3577) better javadocs and error messages related to global/fieldtype SimilarityFactory usage
Date Tue, 26 Jun 2012 01:36:43 GMT

     [ 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


Mime
View raw message