Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4517

make FieldType.properties protected

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      Currently its not possible to make a fieldtype plugin via the normal lib/ mechanism that hides field type impl details (e.g. you just want a no-arg IDFieldType).

      This is because you cant do sheisty package-private stuff in a different classloader without extra sheisty reflection.

      So I think pkg-private access is not very good for things intended to be plugins, you can only make a custom war...

        Attachments

        1. SOLR-4517.patch
          2 kB
          Robert Muir

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: