Gaaaah, I keep losing track of what list I'm on..... Thanks!

On Sat, Jun 27, 2015 at 1:07 PM, Uwe Schindler <u...@thetaphi.de> wrote:
> This was about Lucene, Erick!
>
> There is IndexWriter#deleteDocument taking a term. The term must match a 
> StringField holding your ID.
>
> It is no longer possible to easily delete by internal Lucene doc id. You can 
> try this with tryDelete but this only works if index did not change 
> inbetween. The doc id must come from NRT reader. Mike McCandless may explain 
> it more exactly.
>
> Uwe
>
> Am 27. Juni 2015 12:12:17 EDT, schrieb Erick Erickson 
> <erickerick...@gmail.com>:
>>http://solr:port/solr/collection/update?commit=true&;<delete><id>123</id></delete>
>>
>>
>>On Sat, Jun 27, 2015 at 3:00 AM, Behnam Khoshsafar
>><b.khoshsa...@hamgam.ir> wrote:
>>> I need example of deleting one document from index by id in lucene
>>5.2. tnx
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>>For additional commands, e-mail: java-user-h...@lucene.apache.org
>
> --
> Uwe Schindler
> H.-H.-Meier-Allee 63, 28213 Bremen
> http://www.thetaphi.de

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to