lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sujatha Arun <>
Subject Solr 4.7 .0 Issues with Update and Delete
Date Wed, 01 Oct 2014 07:19:25 GMT
I am having the  following issue on delete and update in solr 4.7.0

*Delete Issue*

I am using the following Curl command to delete a document from index

curl http://localhost:8080/solr/bf/update?commit=true -H "Content-Type:
text/xml" --data-binary '<delete><id>"1.0"</id></delete>'

<?xml version="1.0" encoding="UTF-8"?>
<lst name="responseHeader"><int name="status">0</int><int

This is what I see in logs

 INFO  org.apache.solr.update.processor.LogUpdateProcessor  – [bf]
webapp=/solr path=/update params={commit=true} {delete=["1.0"
(-1480743948591824896)],commit=} 0 8

But When  I query I am still seeing the document

INFO  org.apache.solr.core.SolrCore  – [bf] webapp=/solr path=/select
params={indent=true&q=BookId:1.0&_=1412147431359&wt=json} hits=1 status=0


*Update Issue*

When I update a document for the first time it works fine ,but when I
update the same document again ,i  see this message in the logs and
document is not updated

 INFO  org.apache.solr.update.UpdateHandler  – No uncommitted changes.
Skipping IW.commit.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message