You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Robert Purdy <rd...@gmail.com> on 2007/09/28 23:10:47 UTC

Schema version question

I was wondering if anyone could help me, I just completed a full index of my
data (about 4 million documents) and noticed that when I was first setting
up the schema I set the version number to "1.2" thinking that solr 1.2 uses
schema version 1.2... ugh... so I am wondering if I can just set the schema
to 1.1 without having to rebuild the full index? I ask because I am hoping
that given an invalid schema version number, that version 1.0 is not used by
default and all my fields are now mulitvalued. Any help would be greatly
appreciated. Thanks in advance
-- 
View this message in context: http://www.nabble.com/Schema-version-question-tf4536802.html#a12948588
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Schema version question

Posted by Yonik Seeley <yo...@apache.org>.
On 9/28/07, Robert Purdy <rd...@gmail.com> wrote:
> I was wondering if anyone could help me, I just completed a full index of my
> data (about 4 million documents) and noticed that when I was first setting
> up the schema I set the version number to "1.2" thinking that solr 1.2 uses
> schema version 1.2... ugh... so I am wondering if I can just set the schema
> to 1.1 without having to rebuild the full index? I ask because I am hoping
> that given an invalid schema version number, that version 1.0 is not used by
> default and all my fields are now mulitvalued. Any help would be greatly
> appreciated. Thanks in advance

Yes, it should be OK to set it back to 1.1 w/o reindexing.
The index format does not differentiate between single and
multi-valued fields so you should be fine there.

-Yonik

Re: Schema version question

Posted by Robert Purdy <rd...@gmail.com>.
Thanks Yonik I have not seen any issues with doing that beside some unrelated
perfomance issues I just posted in another thread.

Robert.




Robert Purdy wrote:
> 
> I was wondering if anyone could help me, I just completed a full index of
> my data (about 4 million documents) and noticed that when I was first
> setting up the schema I set the version number to "1.2" thinking that solr
> 1.2 uses schema version 1.2... ugh... so I am wondering if I can just set
> the schema to 1.1 without having to rebuild the full index? I ask because
> I am hoping that given an invalid schema version number, that version 1.0
> is not used by default and all my fields are now mulitvalued. Any help
> would be greatly appreciated. Thanks in advance
> 

-- 
View this message in context: http://www.nabble.com/Schema-version-question-tf4536802.html#a12981543
Sent from the Solr - User mailing list archive at Nabble.com.