[ https://issues.apache.org/jira/browse/GEODE-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15828643#comment-15828643 ]
ASF subversion and git services commented on GEODE-1733: -------------------------------------------------------- Commit cae9495aaafbdde4e24110e99aa8a242d9834b76 in geode's branch refs/heads/develop from [~nnag] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=cae9495 ] GEODE-1733: Lucene stats are displayed correctly. * Lucene stats are displayed correctly when rebalancing occurs or a server is reinstantiated * Listener added which creates the LuceneIndexRepository when a bucket becomes primary. * LuceneIndexRepository no longer being created lazily. > Lucene indexes stats are zeroed after recovering from indexes from disk > ----------------------------------------------------------------------- > > Key: GEODE-1733 > URL: https://issues.apache.org/jira/browse/GEODE-1733 > Project: Geode > Issue Type: Bug > Components: lucene > Reporter: William Markito Oliveira > Assignee: nabarun > Fix For: 1.1.0 > > > When recovering from disk the indexes stats are zeroed until a query is > executed. > {code} > -------------------- > gfsh>list lucene indexes --with-stats > Index Name | Region Path | Indexed Fields | Field > Analyzer | Status | Query Executions | Updates | Commits | Documents > ----------------- | ----------- | -------------------------------- | > -------------- | ----------- | ---------------- | ------- | ------- | > --------- > customerRegionAll | /customer | [lastUpdateDateTime, displayNa.. | {} > | Initialized | 0 | 0 | 0 | 0 > customerRegionAll | /customer | [lastUpdateDateTime, displayNa.. | {} > | Initialized | 0 | 0 | 0 | 0 > customerRegionAll | /customer | [lastUpdateDateTime, displayNa.. | {} > | Initialized | 0 | 0 | 0 | 0 > customerRegionID | /customer | [id] | {} > | Initialized | 0 | 0 | 0 | 0 > customerRegionID | /customer | [id] | {} > | Initialized | 0 | 0 | 0 | 0 > customerRegionID | /customer | [id] | {} > | Initialized | 0 | 0 | 0 | 0 > -------------------- > After query: > gfsh>list lucene indexes --with-stats > Index Name | Region Path | Indexed Fields | Field > Analyzer | Status | Query Executions | Updates | Commits | Documents > ----------------- | ----------- | -------------------------------- | > -------------- | ----------- | ---------------- | ------- | ------- | > --------- > customerRegionAll | /customer | [lastUpdateDateTime, displayNa.. | {} > | Initialized | 0 | 0 | 0 | 0 > customerRegionAll | /customer | [lastUpdateDateTime, displayNa.. | {} > | Initialized | 0 | 0 | 0 | 0 > customerRegionAll | /customer | [lastUpdateDateTime, displayNa.. | {} > | Initialized | 0 | 0 | 0 | 0 > customerRegionID | /customer | [id] | {} > | Initialized | 114 | 0 | 0 | 20644274 > customerRegionID | /customer | [id] | {} > | Initialized | 111 | 0 | 0 | 20103890 > customerRegionID | /customer | [id] | {} > | Initialized | 114 | 0 | 0 | 20637846 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)