[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-642) Support for only manual indexing of particular entity types

Kyrill Alyoshin (JIRA) noreply at atlassian.com
Thu Jan 27 10:28:05 EST 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39773#action_39773 ] 

Kyrill Alyoshin commented on HSEARCH-642:
-----------------------------------------

Yes, it makes sense. Obviously if entity is involved in associations, then it has to be indexed at runtime.

> Support for only manual indexing of particular entity types
> -----------------------------------------------------------
>
>                 Key: HSEARCH-642
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-642
>             Project: Hibernate Search
>          Issue Type: Improvement
>          Components: engine
>    Affects Versions: 3.2.1
>            Reporter: Kyrill Alyoshin
>
> I have an interesting use case. Basically I have to find internal duplicates (in full text search terms) among a bunch of entities of a particular type. The most elegant way to do it, would be:
> 1. Not to index those entities when they are saved (the problem is that only a minority of entities need to be de-duped).
> 2. Before de-duping process starts, manually index those particular entities.
> 3. De-dupe them using Lucene's capabilities.
> 4. Purge those entities from the index.
> Is it possible to mark a particular entity to be indexed only manually? 
>     hibernate.search.indexing_strategy = manual 
> seems to be a global configuration. Can it be applied somehow on a per entity basis? If not, I think this is a valuable RFE.

-- 
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list