lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neelesh Shastry (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-4560) Document updates do not honor deleted fields
Date Mon, 11 Mar 2013 18:55:12 GMT
Neelesh Shastry created SOLR-4560:
-------------------------------------

             Summary: Document updates do not honor deleted fields
                 Key: SOLR-4560
                 URL: https://issues.apache.org/jira/browse/SOLR-4560
             Project: Solr
          Issue Type: Bug
          Components: update
    Affects Versions: 4.1
            Reporter: Neelesh Shastry


 Steps to reproduce
* Lets assume we have 3 fields
 id, name,city
* Create some documents 
* Remove the field "city"
* Fire an update on name

curl http://localhost:8983/solr/update -H 'Content-type:application/json' -d '
[
 {
  "id"        : "6",
  "name"     : {"set":"New Name"}
 }]
 '
 
 You can see
 
 {"responseHeader":{"status":400,"QTime":83},"error":{"msg":"ERROR: [doc=6] unknown field
'city'","code":400}}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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