Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3011

Add name of lucene-property index to cost debug log

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.3, 1.3.2, 1.4
    • Component/s: lucene, query
    • Labels:
      None

      Description

      Currently the cost debug log only contains the type and the cost, but if there are multiple lucene-property indexes, there's no way of knowing which index has what cost so it would be really nice to have the index name included with the cost output.

      Now:

      org.apache.jackrabbit.oak.query.QueryImpl cost for lucene-property is 1.5
      

      Nice to have:

      org.apache.jackrabbit.oak.query.QueryImpl cost for lucene-property [name] is 1.5
      

        Attachments

        1. OAK-3011.patch
          5 kB
          Alex Deparvu
        2. OAK-3011-v2.patch
          7 kB
          Alex Deparvu

          Activity

            People

            • Assignee:
              stillalex Alex Deparvu
              Reporter:
              stillalex Alex Deparvu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: