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 Pushkar Mishra <pu...@gmail.com> on 2020/12/07 13:02:24 UTC

is there a way to trigger a notification when a document is deleted in solr

Hi All,

Is there a way to trigger a notification when a document is deleted in
solr? Or may be when auto purge gets complete of deleted documents in solr?

Thanks

-- 
Pushkar Kumar Mishra
"Reactions are always instinctive whereas responses are always well thought
of... So start responding rather than reacting in life"

Re: is there a way to trigger a notification when a document is deleted in solr

Posted by Walter Underwood <wu...@wunderwood.org>.
That wouldn’t help, because that is a feature request to know when the space is
recovered after documents are deleted. 

I’d look at what shows up in the logs when the delete happens. From that info,
you could configure a log follower to notifiy. If your logs go to a log database, that
probably supports queries that send notifications.

The original feature request could be satisfied the same way.

wunder
Walter Underwood
wunder@wunderwood.org
http://observer.wunderwood.org/  (my blog)

> On Dec 7, 2020, at 6:22 AM, Pushkar Mishra <pu...@gmail.com> wrote:
> 
> Hi All
> https://issues.apache.org/jira/browse/SOLR-13609, was this fixed ever ?
> 
> Regards
> 
> On Mon, Dec 7, 2020 at 6:32 PM Pushkar Mishra <pu...@gmail.com> wrote:
> 
>> Hi All,
>> 
>> Is there a way to trigger a notification when a document is deleted in
>> solr? Or may be when auto purge gets complete of deleted documents in solr?
>> 
>> Thanks
>> 
>> --
>> Pushkar Kumar Mishra
>> "Reactions are always instinctive whereas responses are always well
>> thought of... So start responding rather than reacting in life"
>> 
>> 
> 
> -- 
> Pushkar Kumar Mishra
> "Reactions are always instinctive whereas responses are always well thought
> of... So start responding rather than reacting in life"


Re: is there a way to trigger a notification when a document is deleted in solr

Posted by Erick Erickson <er...@gmail.com>.
No, it’s marked “unresolved”….

> On Dec 7, 2020, at 9:22 AM, Pushkar Mishra <pu...@gmail.com> wrote:
> 
> Hi All
> https://issues.apache.org/jira/browse/SOLR-13609, was this fixed ever ?
> 
> Regards
> 
> On Mon, Dec 7, 2020 at 6:32 PM Pushkar Mishra <pu...@gmail.com> wrote:
> 
>> Hi All,
>> 
>> Is there a way to trigger a notification when a document is deleted in
>> solr? Or may be when auto purge gets complete of deleted documents in solr?
>> 
>> Thanks
>> 
>> --
>> Pushkar Kumar Mishra
>> "Reactions are always instinctive whereas responses are always well
>> thought of... So start responding rather than reacting in life"
>> 
>> 
> 
> -- 
> Pushkar Kumar Mishra
> "Reactions are always instinctive whereas responses are always well thought
> of... So start responding rather than reacting in life"


Re: is there a way to trigger a notification when a document is deleted in solr

Posted by Pushkar Mishra <pu...@gmail.com>.
Hi All
https://issues.apache.org/jira/browse/SOLR-13609, was this fixed ever ?

Regards

On Mon, Dec 7, 2020 at 6:32 PM Pushkar Mishra <pu...@gmail.com> wrote:

> Hi All,
>
> Is there a way to trigger a notification when a document is deleted in
> solr? Or may be when auto purge gets complete of deleted documents in solr?
>
> Thanks
>
> --
> Pushkar Kumar Mishra
> "Reactions are always instinctive whereas responses are always well
> thought of... So start responding rather than reacting in life"
>
>

-- 
Pushkar Kumar Mishra
"Reactions are always instinctive whereas responses are always well thought
of... So start responding rather than reacting in life"

Re: is there a way to trigger a notification when a document is deleted in solr

Posted by Alexandre Rafalovitch <ar...@gmail.com>.
Maybe a postCommit listener?
https://lucene.apache.org/solr/guide/8_4/updatehandlers-in-solrconfig.html

Regards,
   Alex.

On Mon, 7 Dec 2020 at 08:03, Pushkar Mishra <pu...@gmail.com> wrote:
>
> Hi All,
>
> Is there a way to trigger a notification when a document is deleted in
> solr? Or may be when auto purge gets complete of deleted documents in solr?
>
> Thanks
>
> --
> Pushkar Kumar Mishra
> "Reactions are always instinctive whereas responses are always well thought
> of... So start responding rather than reacting in life"