Issue Details (XML | Word | Printable)

Key: CODEBASE-211
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Jessie Keck
Reporter: Naomi Dushay
Votes: 0
Watchers: 0
Operations

Clone this issue
If you were logged in you would be able to see more operations.
Blacklight Plugin

solr config xml files need to have correct version

Created: 12/Apr/10 12:36 PM   Updated: 20/Jul/10 11:35 PM
Return to search
Issue 18 of 22 issue(s)
<< Previous | CODEBASE-211 | Next >>
Component/s: None
Affects Version/s: 2.4
Fix Version/s: 2.6


 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


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Jessie Keck added a comment - 20/Jul/10 11:35 PM
Changed solr schema syntax version to 1.2 instead of 2.4.