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

Read IndexSchema from InputStream instead of Config file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 1.2
    • 1.2
    • None
    • None
    • all

    Description

      Soon to follow patch adds a constructor to IndexSchema to allow them to be created directly from InputStreams. The overall logic for the Core's use of the IndexSchema creation/use does not change however this allows java clients like those in SOLR-20 to be able to parse an IndexSchema. Once a schema is parsed, the client can inspect an index's capabilities which is useful for building generic search UI's. ie provide a drop down list of fields to search/sort by.

      Attachments

        1. IndexSchemaStream2.patch
          4 kB
          Will Johnson
        2. IndexSchemaStream2.patch
          5 kB
          Will Johnson
        3. IndexSchemaStream2.patch
          4 kB
          Will Johnson
        4. IndexSchemaStream2.patch
          3 kB
          Will Johnson
        5. IndexSchemaStream2.patch
          8 kB
          Will Johnson
        6. IndexSchemaStream.patch
          4 kB
          Will Johnson

        Activity

          People

            Unassigned Unassigned
            willjohnson3 Will Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: