Gaaaah, I keep losing track of what list I'm on..... Thanks! On Sat, Jun 27, 2015 at 1:07 PM, Uwe Schindler <[email protected]> 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 > <[email protected]>: >>http://solr:port/solr/collection/update?commit=true&<delete><id>123</id></delete> >> >> >>On Sat, Jun 27, 2015 at 3:00 AM, Behnam Khoshsafar >><[email protected]> wrote: >>> I need example of deleting one document from index by id in lucene >>5.2. tnx >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [email protected] >>For additional commands, e-mail: [email protected] > > -- > Uwe Schindler > H.-H.-Meier-Allee 63, 28213 Bremen > http://www.thetaphi.de
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
