[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-499) Pass a "filter" query to MassIndexing: index changed entity based on timestamp

Marc Schipperheyn (JIRA) noreply at atlassian.com
Wed Mar 28 09:04:48 EDT 2012


    [ https://hibernate.onjira.com/browse/HSEARCH-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46099#comment-46099 ] 

Marc Schipperheyn commented on HSEARCH-499:
-------------------------------------------

This feature should probably also be seen side by side with the new soft delete feature since that filter is not honoured by MassIndexer. Assuming that this is intended, an indexing interceptor should always be matched by a MassIndexer filter. In fact, one might even argue that if the soft delete filter would be honoured by MassIndexer, a lot (but not all) of the use cases of the MassIndexer filter would be covered :-) 

> Pass a "filter" query to MassIndexing: index changed entity based on timestamp
> ------------------------------------------------------------------------------
>
>                 Key: HSEARCH-499
>                 URL: https://hibernate.onjira.com/browse/HSEARCH-499
>             Project: Hibernate Search
>          Issue Type: New Feature
>          Components: massindexer
>            Reporter: Emmanuel Bernard
>            Assignee: Sanne Grinovero
>             Fix For: 4.1.0.CR3
>
>
> I was discussion the MassIndexer API. It would be nice to be able to filter the list of Entity ids to reindex based on a query:
> For example
> select u.id from User u where u.lastUpdate >= :yesterday
> or sue some kind of other flag.
> This would be a nice useful trick.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list