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

Add deprecated 'transition' api for Document/Field

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I think for 4.0 we should have a deprecated transition api for Field so you can do new Field(..., Field.Store.xxx, Field.Index.yyy) like before.

      These combinations would just be some predefined fieldtypes that are used behind the scenes if you use these deprecated ctors

      Sure it wouldn't be 'totally' backwards binary compat for Field.java, but why must it be all or nothing? I think this would eliminate a big
      hurdle for people that want to check out 4.x

        Activity

        Hide
        mikemccand Michael McCandless added a comment -

        +1

        Anything we can do to make the transition easier...

        Show
        mikemccand Michael McCandless added a comment - +1 Anything we can do to make the transition easier...

          People

          • Assignee:
            mikemccand Michael McCandless
            Reporter:
            rcmuir Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development