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

Easier way to access ValueSource given docid

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      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

            • Assignee:
              Unassigned
              Reporter:
              dsmiley David Smiley

              Dates

              • Created:
                Updated:

                Issue deployment