Re: conditionally update document on unique id

2011-11-29 Thread Erick Erickson
rote: > oops... the query looks more like this > > http://solr/select?&q=*id:*myid.doc&rows=0 > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/conditionally-update-document-on-unique-id-tp3119302p3543871.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: conditionally update document on unique id

2011-11-28 Thread chadsteele.com
oops... the query looks more like this http://solr/select?&q=*id:*myid.doc&rows=0 -- View this message in context: http://lucene.472066.n3.nabble.com/conditionally-update-document-on-unique-id-tp3119302p3543871.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: conditionally update document on unique id

2011-11-28 Thread chadsteele.com
webclient.DownloadString(url); if (txt.Contains("numFound=\"0\"")) { //upload the file } -- View this message in context: http://lucene.472066.n3.nabble.com/conditionally-update-document-on-unique-id-tp3119302p3543866.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: conditionally update document on unique id

2011-06-30 Thread Shalin Shekhar Mangar
On Thu, Jun 30, 2011 at 2:06 AM, Yonik Seeley wrote: > On Wed, Jun 29, 2011 at 4:32 PM, eks dev wrote: > > req.getSearcher().getFirstMatch(t) != -1; > > Yep, this is currently the fastest option we have. > > Just for my understanding, this method won't use any caches but still may be faster acros

Re: conditionally update document on unique id

2011-06-29 Thread eks dev
Hi Yonik, as this recommendation comes from you, I am not going to test it, you are well known as a speed junkie ;) When we are there (in SignatureUpdateProcessor), why is this code not moved to the constructor, but remains in processAdd ... Signature sig = (Signature) req.getCore().getRe

Re: conditionally update document on unique id

2011-06-29 Thread Yonik Seeley
On Wed, Jun 29, 2011 at 4:32 PM, eks dev wrote: > req.getSearcher().getFirstMatch(t) != -1; Yep, this is currently the fastest option we have. -Yonik http://www.lucidimagination.com

Re: conditionally update document on unique id

2011-06-29 Thread eks dev
t 2:01 AM, eks dev wrote: > >> Quick question, >> Is there a way with solr to conditionally update document on unique >> id? Meaning, default, add behavior if id is not already in index and >> *not to touch index" if already there. >> >> Deletes are no

Re: conditionally update document on unique id

2011-06-29 Thread Shalin Shekhar Mangar
On Wed, Jun 29, 2011 at 2:01 AM, eks dev wrote: > Quick question, > Is there a way with solr to conditionally update document on unique > id? Meaning, default, add behavior if id is not already in index and > *not to touch index" if already there. > > Deletes are not im

conditionally update document on unique id

2011-06-28 Thread eks dev
Quick question, Is there a way with solr to conditionally update document on unique id? Meaning, default, add behavior if id is not already in index and *not to touch index" if already there. Deletes are not important (no sync issues). I am asking because I noticed with deduplication turn