Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/store
    • Labels:
      None
    • Lucene Fields:
      Patch Available

      Description

      As part of the new TermVectorMapper approach to TermVectors, the ensuing patch loads term vectors and stores the term info by position. This should let people directly index into a term vector given a position. Actually, it does it through Maps, b/c the array based bookkeeping is a pain given the way positions are stored.

      The map looks like:
      Map<String, Map<Integer, TVPositionInfo>>

      where the String is the field name, the integer is the position, and TVPositionInfo is a storage mechanism for the terms and offsets that occur at a position. It should handle multiple terms per position (which is always my downfall! )

      I have not tested performance of this approach.

      1. LUCENE-975.patch
        10 kB
        Grant Ingersoll

        Activity

        Hide
        Grant Ingersoll added a comment -

        First attempt at a position based TermVectorMapper. I believe it is ready to go, but will let it sit for a few days.

        Show
        Grant Ingersoll added a comment - First attempt at a position based TermVectorMapper. I believe it is ready to go, but will let it sit for a few days.
        Hide
        Grant Ingersoll added a comment -

        Committed: 565994

        Show
        Grant Ingersoll added a comment - Committed: 565994

          People

          • Assignee:
            Grant Ingersoll
            Reporter:
            Grant Ingersoll
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development