Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-2234

Lucene query hit stats shows number higher than number of calls

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • lucene
    • None

    Description

      Scenario:

      System with 0 entries
      Add 2 entries
      Query 1 time.
      Add the same 2 entries (update)
      Query 1 time.

      Result:

      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
      

      Attachments

        Activity

          People

            boglesby Barrett Oglesby
            boglesby Barrett Oglesby
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: