[ 
https://issues.apache.org/jira/browse/GEODE-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15773696#comment-15773696
 ] 

ASF subversion and git services commented on GEODE-2234:
--------------------------------------------------------

Commit 32b8a004f16a9bc6ac44ee62ad64f863a131dd35 in geode's branch 
refs/heads/feature/GEODE-2231 from [~barry.oglesby]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=32b8a00 ]

GEODE-2234: Query stats are now calculated per member in the LuceneFunction


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

Reply via email to