You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Barry Oglesby (JIRA)" <ji...@apache.org> on 2016/12/20 18:29:58 UTC

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

Barry Oglesby created GEODE-2234:
------------------------------------

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


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.4#6332)