You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jorge Luis Betancourt González <jl...@uci.cu> on 2014/01/06 08:07:55 UTC

Re: Trigger event on change of a field in a document

With custom UpdateRequestProcessor this would be doable, but depending on when this event will be listened, perhaps Otis is right.

----- Original Message -----
From: "Utkarsh Sengar" <ut...@gmail.com>
To: solr-user@lucene.apache.org
Sent: Friday, December 27, 2013 7:29:40 PM
Subject: Re: Trigger event on change of a field in a document

Thanks! I think, I will explore how to implement it outside solr.

-Utkarsh


On Fri, Dec 27, 2013 at 3:20 PM, Otis Gospodnetic <
otis.gospodnetic@gmail.com> wrote:

> And if you really really really wanted that in Solr then have a look at
> UpdateRequestProcessors.
>
> Otis
> Solr & ElasticSearch Support
> http://sematext.com/
> On Dec 27, 2013 6:19 PM, "Otis Gospodnetic" <ot...@gmail.com>
> wrote:
>
> > Hi,
> >
> > This sounds like it would be best implemented outside the search engine.
> >
> > Otis
> > Solr & ElasticSearch Support
> > http://sematext.com/
> > On Dec 27, 2013 4:29 PM, "Utkarsh Sengar" <ut...@gmail.com> wrote:
> >
> >> I am experimenting with implementing a price drop feature.
> >> Can I register some document's fields and trigger some sort of events if
> >> the values change in those fields?
> >>
> >> For example:
> >> 1. Price of itemX is $10
> >> 2. Say the price changes to $17 or $5 (increases or decreases) when the
> >> new
> >> data loads.
> >> 3. Trigger an event to take an action on that change, like send out an
> >> email.
> >>
> >> I believe this is somewhat similar but not the same as the percolator
> >> feature in elasticsearch.
> >>
> >> --
> >> Thanks,
> >> -Utkarsh
> >>
> >
>



-- 
Thanks,
-Utkarsh
________________________________________________________________________________________________
III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 2014. Ver www.uci.cu