[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-499?pag...
]
Sanne Grinovero commented on HSEARCH-499:
-----------------------------------------
definitely agree, actually in my previous experiments I had this as I needed it, but
it's implementation was coupled to my model.
I believe we chatted about the possibility to use a DetachedCriteria, but you where not
100% convinced about it. Should try by HQL?
oh and the API should be able to pass something like a Map<rootTypeClass,filter> as
each root type would have it's own fetching filter.
The same filtering would need a way to define efficient purging on the same dataset, or we
need to switch to (delete+write)* for each id rather than having purgeAll+(add)*
Pass a "filter" query to MassIndexing: index changed entity
based on timestamp
------------------------------------------------------------------------------
Key: HSEARCH-499
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-499
Project: Hibernate Search
Issue Type: New Feature
Components: engine
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.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira