Re: UUID processor handling of empty string

2016-04-17 Thread Susmit Shukla
pty. > >> > > This is on solr 5.3.0 > >> > > > >> > > Thanks, > >> > > Susmit > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > On Thu, Apr 14, 2016 at 2:30

Re: UUID processor handling of empty string

2016-04-16 Thread Erick Erickson
>> > > > >> > > >> > >> https://lucene.apache.org/solr/6_0_0/solr-core/org/apache/solr/update/processor/RemoveBlankFieldUpdateProcessorFactory.html >> > > > >> > > > If you are also worried about strings that aren'

Re: UUID processor handling of empty string

2016-04-16 Thread Jack Krupansky
org/solr/6_0_0/solr-core/org/apache/solr/update/processor/RemoveBlankFieldUpdateProcessorFactory.html > > > > > > > > If you are also worried about strings that aren't exactly empty, but > > > > consist only of whitespace, you can put > TrimFieldUpdateProcesso

Re: UUID processor handling of empty string

2016-04-16 Thread Susmit Shukla
ctory.html > > > > > > If you are also worried about strings that aren't exactly empty, but > > > consist only of whitespace, you can put TrimFieldUpdateProcessorFactory > > > before RemoveBlankFieldUpdateProcessorFactory ... > > > > &

Re: UUID processor handling of empty string

2016-04-16 Thread Jack Krupansky
he/solr/update/processor/TrimFieldUpdateProcessorFactory.html > > > > > > : Date: Thu, 14 Apr 2016 12:30:24 -0700 > > : From: Erick Erickson > > : Reply-To: solr-user@lucene.apache.org > > : To: solr-user > > : Subject: Re: UUID processor handling of empty str

Re: UUID processor handling of empty string

2016-04-16 Thread Alexandre Rafalovitch
essorFactory ... >> >> >> https://lucene.apache.org/solr/6_0_0/solr-core/org/apache/solr/update/processor/TrimFieldUpdateProcessorFactory.html >> >> >> : Date: Thu, 14 Apr 2016 12:30:24 -0700 >> : From: Erick Erickson >> : Reply-To: solr-user@lucene.

Re: UUID processor handling of empty string

2016-04-14 Thread Susmit Shukla
. > > > https://lucene.apache.org/solr/6_0_0/solr-core/org/apache/solr/update/processor/TrimFieldUpdateProcessorFactory.html > > > : Date: Thu, 14 Apr 2016 12:30:24 -0700 > : From: Erick Erickson > : Reply-To: solr-user@lucene.apache.org > : To: solr-user > : Subject:

Re: UUID processor handling of empty string

2016-04-14 Thread Chris Hostetter
che/solr/update/processor/TrimFieldUpdateProcessorFactory.html : Date: Thu, 14 Apr 2016 12:30:24 -0700 : From: Erick Erickson : Reply-To: solr-user@lucene.apache.org : To: solr-user : Subject: Re: UUID processor handling of empty string : : What do you mean "doesn't work"? An empty string is

Re: UUID processor handling of empty string

2016-04-14 Thread Erick Erickson
What do you mean "doesn't work"? An empty string is different than not being present. Thee UUID update processor (I'm pretty sure) only adds a field if it is _absent_. Specifying it as an empty string fails that test so no value is added. At that point, if this uuid field is also the , then each d

UUID processor handling of empty string

2016-04-14 Thread Susmit Shukla
Hi, I have configured solr schema to generate unique id for a collection using UUIDUpdateProcessorFactory I am seeing a peculiar behavior - if the unique 'id' field is explicitly set as empty string in the SolrInputDocument, the document gets indexed with UUID update processor generating the id.