[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 Feb 8 16:12:12 EST 2012


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

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

Perhaps a much simpler approach would be to allow you to feed the primary keys to be indexed to the MassIndexer. It would avoid the complications of working with criteria selections and basically achieve what most people want. I would *love* to see this as part of 4.1

> 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
>
> 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