Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      Expose the stats values as an API Context.getStats

      1. SOLR-989.patch
        4 kB
        Shalin Shekhar Mangar
      2. SOLR-989.patch
        3 kB
        Noble Paul

        Issue Links

          Activity

          Hide
          shalinmangar Shalin Shekhar Mangar added a comment -

          Instead of a Map<String, Long>, would it be better to return Map<String, Object> to allow more freedom for future enhancements. Right now we only return the various counts, but it may be better to add more things to it. For example, an event listener may want to know the time taken for the import.

          Thoughts?

          Show
          shalinmangar Shalin Shekhar Mangar added a comment - Instead of a Map<String, Long>, would it be better to return Map<String, Object> to allow more freedom for future enhancements. Right now we only return the various counts, but it may be better to add more things to it. For example, an event listener may want to know the time taken for the import. Thoughts?
          Hide
          noble.paul Noble Paul added a comment -

          makes sense

          Show
          noble.paul Noble Paul added a comment - makes sense
          Hide
          shalinmangar Shalin Shekhar Mangar added a comment -

          Patch to change Map<String, Long> to Map<String, Object>

          I'll commit this shortly.

          Show
          shalinmangar Shalin Shekhar Mangar added a comment - Patch to change Map<String, Long> to Map<String, Object> I'll commit this shortly.
          Hide
          shalinmangar Shalin Shekhar Mangar added a comment -

          Committed revision 741698.

          Thanks Noble!

          Show
          shalinmangar Shalin Shekhar Mangar added a comment - Committed revision 741698. Thanks Noble!
          Hide
          gsingers Grant Ingersoll added a comment -

          Bulk close for Solr 1.4

          Show
          gsingers Grant Ingersoll added a comment - Bulk close for Solr 1.4

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              noble.paul Noble Paul
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development