And when you pasted your 3.5 fields into the 4.0 schema, did you delete the existing fields (including _version_) at the same time?

-- Jack Krupansky

-----Original Message----- From: Paul
Sent: Wednesday, September 05, 2012 4:32 PM
To: solr-user@lucene.apache.org
Subject: Re: Still see document after delete with commit in solr 4.0

Actually, I didn't technically "upgrade". I downloaded the new
version, grabbed the example, and pasted in the fields from my schema
into the new one. So the only two files I changed from the example are
schema.xml and solr.xml.

Then I reindexed everything from scratch so there was no old index
involved, either.

On Wed, Sep 5, 2012 at 2:42 PM, Chris Hostetter
<hossman_luc...@fucit.org> wrote:

: That was exactly it. I added the following line to schema.xml and it now works.
:
: <field name="_version_" type="long" indexed="true" stored="true"/>

Just to be clear: how exactly did you "upgraded to solr 4.0 from solr 3.5"
-- did you throw out your old solrconfig.xml and use the example
solrconfig.xml from 4.0, but keep your 3.5 schema.xml?  Do you in fact
have an <updateLog ... /> in your solrconfig.xml?

(if so: then this is all known as part of SOLR-3432, and won't affect any
users of 4.0-final -- but i want to be absolutely sure there isn't some
other edge case of this bug)


-Hoss

Reply via email to