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)