[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-626) Allow MassIndexer to work in parallel of regular indexing / querying

Sanne Grinovero (JIRA) noreply at atlassian.com
Sat Nov 6 07:38:13 EDT 2010


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

Sanne Grinovero commented on HSEARCH-626:
-----------------------------------------

As a memo : also for maintenance purposes I'd like to explore the possibilities to soon merge the normal backend and the massindexing backend to share the IndexWriter - need to think if such a queue (as mentioned in issue description) is still going to be needed to put live updates on hold in case of a shared backend.

> Allow MassIndexer to work in parallel of regular indexing / querying
> --------------------------------------------------------------------
>
>                 Key: HSEARCH-626
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-626
>             Project: Hibernate Search
>          Issue Type: New Feature
>          Components: massindexer
>            Reporter: Emmanuel Bernard
>
> Some people want to use mass indexer to reindex live some data.
> This is problematic today as MassIndexer expects to work alone / offline.
> I can see at least one approach:
>  - copy the index to a new Directory before mass indexing (or if exclusive, start with a new Directory while keeping the old Directory in place
>  - the current directory needs to become read-only
>  - all index update (on the entity) requests should be queued up for after massIndexer is done
>  - MassIndexer swaps the current and the new directory 
>  - indexing and querying resume as normal
> Note that we need to work on a different directory because mass indexer does delete all entries of an entity before starting the reindexing process.

-- 
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