Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9565 Make every UpdateRequestProcessor available implicitly
  3. SOLR-10858

Make UUIDUpdateProcessorFactory as Runtime URP; take params(s) with request

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: update
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      We are trying to get rid of processor definitions in SolrConfig for all URPs and take parameters in the request itself.

      UUIDUpdateProcessorFactory will be able to execute by sample curl like below:

       curl -X POST -H Content-Type: application/json  http://localhost:8983/solr/test/update/json/docs?processor=uuid&uuid.fieldName=id&commit=true --data-binary {"title": "titleA"}
      
       curl -X POST -H Content-Type: application/json  http://localhost:8983/solr/test/update/json/docs?processor=uuid&commit=true --data-binary {"id":"1","title": "titleA"}
      
       curl -X POST -H Content-Type: application/json  http://localhost:8983/solr/test/update/json/docs?processor=uuid&uuid.fieldName=id&commit=true --data-binary {"id":"1","title": "titleA"}
      

      Configuration for UUIDUpdateProcessorFactory in solrconfig.xml is optional.

        Attachments

        1. SOLR-10858.patch
          11 kB
          Amrit Sarkar
        2. SOLR-10858.patch
          11 kB
          Amrit Sarkar
        3. SOLR-10858.patch
          13 kB
          Amrit Sarkar
        4. SOLR-10858.patch
          13 kB
          Amrit Sarkar
        5. SOLR-10858.patch
          10 kB
          Amrit Sarkar
        6. SOLR-10858.patch
          9 kB
          Amrit Sarkar
        7. SOLR-10858.patch
          9 kB
          Amrit Sarkar
        8. SOLR-10858.patch
          10 kB
          Amrit Sarkar

          Activity

            People

            • Assignee:
              noble.paul Noble Paul
              Reporter:
              sarkaramrit2@gmail.com Amrit Sarkar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: