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

Refactor Spatial RecursivePrefixTreeFilter algorithm for extension

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2, 6.0
    • Component/s: modules/spatial
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      In the process of implementing algorithms on the SpatialPrefixTree indexed field like "Within" or some variations of Intersects that say collect the distance as side-effect, I find that I need near-copies of the code in RecursivePrefixTreeFilter. RPTF is pretty intense with lots of optimizations. So I refactored out the algorithm such that it makes implementing new algorithms much easier yet benefits from the logic in there.

      Patch to follow...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dsmiley David Smiley
                Reporter:
                dsmiley David Smiley
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: