Re: Solr: How to delete a document

2014-09-13 Thread Alexandre Rafalovitch
Well, I missed it as well. :-) I usually put my URLs on their own lines to make looking at them easier. Wonder if that would have helped in this particular case. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @

Re: Solr: How to delete a document

2014-09-13 Thread Erick Erickson
Ahhh! Thanks for letting us know, I was wondering! And that fact was right there in the URL you pasted and I overlooked it totally. Siiigggh. Erick On Sat, Sep 13, 2014 at 2:28 PM, FiMka wrote: > I've got the answer! The problem was not in absence of 'expungeDeletes=true', > I've double checked

Re: Solr: How to delete a document

2014-09-13 Thread FiMka
I've got the answer! The problem was not in absence of 'expungeDeletes=true', I've double checked and this does not matter actually. But in fact first time I sent the documents removal request to localhost:8983/solr/update/?commit=true with no specifying any exact Solr core, e.g. "collection1". Sol

Re: Solr: How to delete a document

2014-09-13 Thread Alexandre Rafalovitch
If "commit" was the answer, you may want to step back and review your understanding of Solr. The main point is that Solr commit is not the same as SQL transaction, but is something that has to be triggered manually (or through timeout specifications in the request and/or solrconfig.xml). Also, com

Re: Solr: How to delete a document

2014-09-13 Thread Erick Erickson
H, it should not be necessary to add expungeDeletes, so I'd like to understand what's happening here. FiMka: Could you give us the exact URL you send? Because trying the below from a browser works just fine for me on 4.x. with the sample data. http://localhost:8983/solr/collection1/update?com

Re: Solr: How to delete a document

2014-09-13 Thread FiMka
*François*, thank you for help, it is really working now! -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-How-to-delete-a-document-tp4158649p4158654.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr: How to delete a document

2014-09-13 Thread François Schiettecatte
How about adding 'expungeDeletes=true' as well as 'commit=true'? François On Sep 13, 2014, at 4:09 PM, FiMka wrote: > Hi guys, could you say how to delete a document in Solr? After I delete a > document it still persists in the search results. For example there is the > following document saved