[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 17:16:51 EST 2012


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

Emmanuel Bernard commented on HSEARCH-471:
------------------------------------------

Is there a use case for 

{code}
IndexingActionTypeonDelete(T entity) {
   return //something other than IndexingActionType.UNCHANGED;
}
{code}

If there is none, we should simply remove this method.

> 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