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

Combine MockRandomPostingsFormat and RandomCodec

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: general/test
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This is really confusing. I think MockRandomPF is mostly obselete, in that it writes a random seed file (.sd) so that its symmetrical when reading the index.

      this is no longer necessary (codecs must write what they need). But i think it does some other cool things, like randomizes more params like skipintervals and so on.

      we should make sure RandomCodec does all the evil things it does, delete MockRandomPostingsFormat, and rename RandomCodec to RandomPostingsFormat.

      Then add a real Random codec thats really a frankenstein and does things like switch up stored fields impl (LUCENE-4226) and so on.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: