RE: suggestion for new custom atomic update

2014-10-28 Thread Elran Dvir
Shalin and Matthew, Thank you very much. -Original Message- From: Matthew Nigl [mailto:matthew.n...@gmail.com] Sent: Monday, October 27, 2014 7:24 PM To: solr-user@lucene.apache.org Subject: Re: suggestion for new custom atomic update No problem Elran. As Shalin mentioned, you will

Re: suggestion for new custom atomic update

2014-10-27 Thread Matthew Nigl
pdate processor factory that will run after > > DistributedUpdateProcessorFactory? > > > > Thank you very much. > > > > > > -Original Message- > > From: Matthew Nigl [mailto:matthew.n...@gmail.com] > > Sent: Monday, October 27, 2014 12:10 PM >

Re: suggestion for new custom atomic update

2014-10-27 Thread Shalin Shekhar Mangar
t; The value of field_b will be based on the value of 13 and not 5. > > Is there a way in URP to know what is the value which is already > > stored in field_a? > > > > Thank you very much. > > > > -Original Message- > > From: Alexandre Rafalovitch

RE: suggestion for new custom atomic update

2014-10-27 Thread Elran Dvir
10 PM To: solr-user@lucene.apache.org Subject: Re: suggestion for new custom atomic update You can get the summed value, 13, if you add a processor after DistributedUpdateProcessorFactory in the URP chain. Then one possibility would be to clone this value to another field, such as field_b, an

Re: suggestion for new custom atomic update

2014-10-27 Thread Matthew Nigl
ginal Message- > From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] > Sent: Sunday, October 26, 2014 6:07 PM > To: solr-user > Subject: Re: suggestion for new custom atomic update > > I am not sure what the problem is. URP catches all operations. So, you can > modify th

RE: suggestion for new custom atomic update

2014-10-27 Thread Elran Dvir
n URP to know what is the value which is already stored in field_a? Thank you very much. -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: Sunday, October 26, 2014 6:07 PM To: solr-user Subject: Re: suggestion for new custom atomic update I am not sure wha

Re: suggestion for new custom atomic update

2014-10-26 Thread Alexandre Rafalovitch
> To: solr-user > Subject: RE: suggestion for new custom atomic update > > Can't you do the calculation in custom UpdateRequestProcessor? > > Regards, > Alex > On 26/10/2014 4:17 am, "Elran Dvir" wrote: > >> Hi all, >> >> Did anyone have

RE: suggestion for new custom atomic update

2014-10-26 Thread Elran Dvir
Subject: RE: suggestion for new custom atomic update Can't you do the calculation in custom UpdateRequestProcessor? Regards, Alex On 26/10/2014 4:17 am, "Elran Dvir" wrote: > Hi all, > > Did anyone have a chance to review my idea? > > Thanks. > > -Orig

RE: suggestion for new custom atomic update

2014-10-26 Thread Alexandre Rafalovitch
nt: Monday, October 20, 2014 12:42 PM > To: solr-user > Subject: suggestion for new custom atomic update > > Hi all, > > This is my use case: > I have a stored field, field_a, which is atomic updated (let's say by > "inc"). field_a is stored but not indexed due t

RE: suggestion for new custom atomic update

2014-10-26 Thread Elran Dvir
Hi all, Did anyone have a chance to review my idea? Thanks. -Original Message- From: Elran Dvir Sent: Monday, October 20, 2014 12:42 PM To: solr-user Subject: suggestion for new custom atomic update Hi all, This is my use case: I have a stored field, field_a, which is atomic updated

suggestion for new custom atomic update

2014-10-20 Thread Elran Dvir
Hi all, This is my use case: I have a stored field, field_a, which is atomic updated (let's say by "inc"). field_a is stored but not indexed due to the large number of distinct values it can have. I need to index field_b (I need facet and stats on it) which is not in the document but its value