[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-471) Ability to selectively index an entity based on its state
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Fri Feb 24 14:18:51 EST 2012
[ https://hibernate.onjira.com/browse/HSEARCH-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45678#comment-45678 ]
Emmanuel Bernard commented on HSEARCH-471:
------------------------------------------
@Indexed(actionInterceptor=SoftDeleteInterceptor.class)
class Order { ... }
But should this interceptor be "inherited" by subclasses? If not we are fine but users will have to set it for all subclasses. If yes, we need a different "default" setting to differentiate reset from default.
> Ability to selectively index an entity based on its state
> ---------------------------------------------------------
>
> Key: HSEARCH-471
> URL: https://hibernate.onjira.com/browse/HSEARCH-471
> Project: Hibernate Search
> Issue Type: New Feature
> Components: engine, mapping
> Affects Versions: 3.1.1.GA
> Reporter: Dobes Vandermeer
>
> In our system we have entities that are searched but not all of them are available for search - some of them are flagged as "removed". It would improve the efficiency of our search subsystem if we could implement a kind of "filter" that blocked these entities from being added to the search index, since we wouldn't have to make that a search term and our indexes would be somewhat smaller.
--
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