Lucene - Core
  1. Lucene - Core
  2. LUCENE-3682

Add deprecated 'transition' api for Document/Field

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major 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
        Michael McCandless added a comment -

        +1

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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development