Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      Patch Available

      Description

      Similar to the QueryFilter (or whatever it is called now) the SpanQueryFilter is a regular Lucene Filter, but it also can return Spans-like information. This is useful if you not only want to filter based on a Query, but you then want to be able to compare how a given match from a new query compared to the positions of the filtered SpanQuery. Patch to come shortly also contains a caching mechanism for the SpanQueryFilter

      1. SpanQueryFilter.patch
        14 kB
        Grant Ingersoll

        Activity

        Hide
        Grant Ingersoll added a comment -

        Patch and tests for SpanQueryFilter

        Show
        Grant Ingersoll added a comment - Patch and tests for SpanQueryFilter
        Hide
        Grant Ingersoll added a comment -

        Try again w/ an actual patch

        Show
        Grant Ingersoll added a comment - Try again w/ an actual patch
        Hide
        Grant Ingersoll added a comment -

        I committed this on revision 557105. Leaving it open for a few more days. This constitutes all new classes, so no back-compatibility issues, etc.

        Show
        Grant Ingersoll added a comment - I committed this on revision 557105. Leaving it open for a few more days. This constitutes all new classes, so no back-compatibility issues, etc.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development