Solr
  1. Solr
  2. SOLR-1179

create lucene Filters from DocSets that translate ids

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      In order to use Lucene Filtering, we need to efficiently translate top-level DocSet filters into per-segment filters.

      1. SOLR-1179.patch
        11 kB
        Yonik Seeley

        Issue Links

          Activity

          Hide
          Yonik Seeley added a comment -

          OK, this patch adds a DocSet.getTopFilter that returns a lucene Filter that will work for the reader the DocSet was generated with, or any of it's sub-readers (as Lucene now does per-segment searching and filtering).

          SortedIntDocSet has optimizations for when segments are sorted in order. It also looks up the end index once instead of comparing to the max value on every next() or skipTo()

          I plan on committing shortly.

          Show
          Yonik Seeley added a comment - OK, this patch adds a DocSet.getTopFilter that returns a lucene Filter that will work for the reader the DocSet was generated with, or any of it's sub-readers (as Lucene now does per-segment searching and filtering). SortedIntDocSet has optimizations for when segments are sorted in order. It also looks up the end index once instead of comparing to the max value on every next() or skipTo() I plan on committing shortly.
          Hide
          Yonik Seeley added a comment -

          committed.

          Show
          Yonik Seeley added a comment - committed.
          Hide
          Grant Ingersoll added a comment -

          Bulk close for Solr 1.4

          Show
          Grant Ingersoll added a comment - Bulk close for Solr 1.4

            People

            • Assignee:
              Yonik Seeley
              Reporter:
              Yonik Seeley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development