Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4541

Easier way to access ValueSource given docid

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • modules/other
    • None
    • New

    Description

      I was working on improving some sample code and I needed to access a value via a ValueSource given a docid in search results. I was disappointed to see how many steps were needed. Incidentally, Solr had to solve the same problem, and it's got ValueSourceAugmenter for this. I propose a small utility class be created to do something similar, such that the client can merely create an instance and then call a method with a doc id to retrieve the value.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: