Solr
  1. Solr
  2. SOLR-883

Cores created through Admin do not have the implicit properties set

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      When a core is present in the solr.xml , the core has all the implicit properties set. But when it is created through the REST API. It is not set

      1. SOLR-883.patch
        0.6 kB
        Noble Paul
      2. SOLR-883.patch
        2 kB
        Noble Paul

        Activity

        Hide
        Noble Paul added a comment -

        changes:

        • If the core is created via CoreAdminHandler call the CoreDescriptor#setCoreProperties(null)
        • Add a null check in CoreDescriptor#setCoreProperties() to avoid NPE
        • There is another bug . CoreDescriptor#setCoreProperties() is called before setting the schema,config and that may result in having wrong values for implicit properties
        Show
        Noble Paul added a comment - changes: If the core is created via CoreAdminHandler call the CoreDescriptor#setCoreProperties(null) Add a null check in CoreDescriptor#setCoreProperties() to avoid NPE There is another bug . CoreDescriptor#setCoreProperties() is called before setting the schema,config and that may result in having wrong values for implicit properties
        Hide
        Shalin Shekhar Mangar added a comment -

        Committed revision 738378.

        Thanks Noble!

        Show
        Shalin Shekhar Mangar added a comment - Committed revision 738378. Thanks Noble!
        Hide
        Noble Paul added a comment -

        this got removed somehow

        Show
        Noble Paul added a comment - this got removed somehow
        Hide
        Noble Paul added a comment -

        SOLR-943 removed the fix

        Show
        Noble Paul added a comment - SOLR-943 removed the fix
        Hide
        Noble Paul added a comment -

        committed revision 776578

        Show
        Noble Paul added a comment - committed revision 776578
        Hide
        Grant Ingersoll added a comment -

        Bulk close for Solr 1.4

        Show
        Grant Ingersoll added a comment - Bulk close for Solr 1.4

          People

          • Assignee:
            Noble Paul
            Reporter:
            Noble Paul
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development