[infinispan-issues] [JBoss JIRA] (ISPN-7990) Provide a way to remove an entry from all indexes

Gustavo Fernandes (JIRA) issues at jboss.org
Wed Jun 28 13:08:00 EDT 2017


    [ https://issues.jboss.org/browse/ISPN-7990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428450#comment-13428450 ] 

Gustavo Fernandes edited comment on ISPN-7990 at 6/28/17 1:07 PM:
------------------------------------------------------------------

[~sannegrinovero] Still waiting for your reply to my previous comments :)

EDIT: 
Forgot to add, IMO operations across multiple search indices is not something too uncommon. Lucene has support for that and elasticsearch allows to use special placeholder "all" to delete from multiple indices or even use a regex to narrow them down [1]. 

And in Infinispan, we have the advantage of having unique document ids across all indices (it derives from the cache key). When you mention "unsafe", is it some internal limitation of the Hibernate Search engine, or the QueryKnownClasses (which is backed by a SYNC REPL cache) itself?

[1] https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-index.html


was (Author: gustavonalle):
[~sannegrinovero] Still waiting for your reply to my previous comments :)

> Provide a way to remove an entry from all indexes
> -------------------------------------------------
>
>                 Key: ISPN-7990
>                 URL: https://issues.jboss.org/browse/ISPN-7990
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Embedded Querying
>    Affects Versions: 9.1.0.Beta1
>            Reporter: Gustavo Fernandes
>            Assignee: Gustavo Fernandes
>
> This may be needed in some non frequent scenarios (happening during topology changes) where a write command cannot obtain the previous value to remove it from the index.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list