You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Hitesh Khamesra (JIRA)" <ji...@apache.org> on 2017/02/08 23:07:41 UTC

[jira] [Closed] (GEODE-2234) Lucene query hit stats shows number higher than number of calls

     [ https://issues.apache.org/jira/browse/GEODE-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hitesh Khamesra closed GEODE-2234.
----------------------------------

> Lucene query hit stats shows number higher than number of calls
> ---------------------------------------------------------------
>
>                 Key: GEODE-2234
>                 URL: https://issues.apache.org/jira/browse/GEODE-2234
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Barry Oglesby
>            Assignee: Barry Oglesby
>             Fix For: 1.1.0
>
>
> Scenario:
> System with 0 entries
> Add 2 entries
> Query 1 time.
> Add the same 2 entries (update)
> Query 1 time.
> Result:
> {noformat}
> gfsh>list lucene indexes --with-stats
> Index Name | Region Path | Indexed Fields | Field Analyzer | Query Executions | Updates | Commits | Documents
> ---------- | ----------- | -------------- | -------------- | ---------------- | ------- | ------- | ---------
> customerF1 | /Customer   | [f1]           | {}             | 0                | 0       | 0       | 0
> customerF1 | /Customer   | [f1]           | {}             | 0                | 0       | 0       | 0
> gfsh>list lucene indexes --with-stats
> Index Name | Region Path | Indexed Fields | Field Analyzer | Query Executions | Updates | Commits | Documents
> ---------- | ----------- | -------------- | -------------- | ---------------- | ------- | ------- | ---------
> customerF1 | /Customer   | [f1]           | {}             | 112              | 2       | 2       | 1
> customerF1 | /Customer   | [f1]           | {}             | 114              | 2       | 2       | 1
> gfsh>list lucene indexes --with-stats
> Index Name | Region Path | Indexed Fields | Field Analyzer | Query Executions | Updates | Commits | Documents
> ---------- | ----------- | -------------- | -------------- | ---------------- | ------- | ------- | ---------
> customerF1 | /Customer   | [f1]           | {}             | 224              | 3       | 3       | 1
> customerF1 | /Customer   | [f1]           | {}             | 228              | 3       | 3       | 1
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)