[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-642) Support for only manual indexing of particular entity types
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Thu Jan 27 09:31:05 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39770#action_39770 ]
Emmanuel Bernard commented on HSEARCH-642:
------------------------------------------
It's easy enough if the entity ins not @Contained nor referenced by @IndexedEmbedded.
Otherwise that's more tricky. I guess we could honor a manual flag unless the entity is somehow involved with associations not marked as manual.
> 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