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

Port 3.x FieldCache.getDocsWithField() to trunk

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5, 4.0-ALPHA
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      [Spinoff from LUCENE-3390]

      I think the approach in 3.x for handling un-valued docs, and making it
      possible to specify how such docs are sorted, is better than the
      solution we have in trunk.

      I like that FC has a dedicated method to get the Bits for docs with field
      – easy for apps to directly use. And I like that the
      bits have their own entry in the FC.

      One downside is that it's 2 passes to get values and valid bits, but
      I think we can fix this by passing optional bool to FC.getXXX methods
      indicating you want the bits, and the populate the FC entry for the
      missing bits as well. (We can do that for 3.x and trunk). Then it's
      single pass.

        Attachments

        1. LUCENE-3443.patch
          240 kB
          Michael McCandless
        2. LUCENE-3443.patch
          195 kB
          Robert Muir
        3. LUCENE-3443.patch
          194 kB
          Michael McCandless

        Issue Links

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment