[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-402) Provide a ReaderProvider to cap the number of index reopenings to a fixed rate

Emmanuel Bernard (JIRA) noreply at atlassian.com
Sat Apr 3 07:34:32 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard updated HSEARCH-402:
-------------------------------------

    Fix Version/s:     (was: 3.2.0.Beta3)
                   3.3.0

> Provide a ReaderProvider to cap the number of index reopenings to a fixed rate
> ------------------------------------------------------------------------------
>
>                 Key: HSEARCH-402
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-402
>             Project: Hibernate Search
>          Issue Type: New Feature
>            Reporter: Sanne Grinovero
>            Assignee: Sanne Grinovero
>             Fix For: 3.3.0
>
>
> It's often unneeded to recheck for an index update at very high frequency, which ends up to be a bottleneck in high-throughput applications
> for an unneded guarantee of having latest version of index.
> Setting a configurable period, let's say 5 seconds, will make this ReaderProvider reopen an IndexReader once each 5 seconds.
> This can be done in background, removing the delay of checks from the call to openReader(); and enabling index warmup in future (Lucene 2.9 feature) in background.
> When reopening in background the ratio will be fixed, i.e. the index will be reopened even if there's no request for a new IR.
> This impl should manage the timer, but otherwise delegate to another implementation of ReaderProvider (defaulting to current default: SharingBufferReaderProvider) to optionally chain and provide the benefits of the other implementation.

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