Blacklight Plugin

solr config xml files need to have correct version

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.4
  • Fix Version/s: 2.6
  • Component/s: None
  • Description:
    Hide
    Begin forwarded message:

    From: Erik Hatcher <erik.hatcher@gmail.com>
    Date: February 17, 2010 5:42:29 AM PST
    To: solrmarc-tech@googlegroups.com
    Subject: [solrmarc-tech] Schema version
    Reply-To: solrmarc-tech@googlegroups.com

    The version number in Solr's schema.xml is not being set properly in
    the SolrMarc configurations. In trunk for GenericBlacklight, for example, it
    is set to "2.4".

    Here's a bit of scoop from Solr's example schema.xml:

    <schema name="example" version="1.2">
    <!-- attribute "name" is the name of this schema and is only used
    for display purposes.
         Applications should change this to reflect the nature of the
    search collection.
         version="1.2" is Solr's version number for the schema syntax
    and semantics. It should
         not normally be changed by applications.
         1.0: multiValued attribute did not exist, all fields are
    multiValued by nature
         1.1: multiValued attribute introduced, false by default
         1.2: omitTermFreqAndPositions attribute introduced, true by
    default except for text fields.
       -->

    It's probably ok at the moment, as Solr's code only is checking
    whether version is greater or less than 1.1, but this should be set to
    1.2 to avoid any future issues and confusion.

    Erik
    Show
    Begin forwarded message: From: Erik Hatcher <erik.hatcher@gmail.com> Date: February 17, 2010 5:42:29 AM PST To: solrmarc-tech@googlegroups.com Subject: [solrmarc-tech] Schema version Reply-To: solrmarc-tech@googlegroups.com The version number in Solr's schema.xml is not being set properly in the SolrMarc configurations. In trunk for GenericBlacklight, for example, it is set to "2.4". Here's a bit of scoop from Solr's example schema.xml: <schema name="example" version="1.2"> <!-- attribute "name" is the name of this schema and is only used for display purposes.      Applications should change this to reflect the nature of the search collection.      version="1.2" is Solr's version number for the schema syntax and semantics. It should      not normally be changed by applications.      1.0: multiValued attribute did not exist, all fields are multiValued by nature      1.1: multiValued attribute introduced, false by default      1.2: omitTermFreqAndPositions attribute introduced, true by default except for text fields.    --> It's probably ok at the moment, as Solr's code only is checking whether version is greater or less than 1.1, but this should be set to 1.2 to avoid any future issues and confusion. Erik

Activity

Hide
Jessie Keck added a comment - 20/Jul/10 11:35 PM
Changed solr schema syntax version to 1.2 instead of 2.4.
Show
Jessie Keck added a comment - 20/Jul/10 11:35 PM Changed solr schema syntax version to 1.2 instead of 2.4.

People

Dates

  • Created:
    12/Apr/10 12:36 PM
    Updated:
    20/Jul/10 11:35 PM
    Resolved:
    20/Jul/10 11:35 PM