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

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • update
    • None

    Description

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

      ClassificationUpdateProcessorFactory 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=Classification&classification.fieldName=url_s&classification.classField=training&commit=true --data-binary { "id" : "1" , "url_s" : "http://www.example.com/subroot" }
      

      All the param(s) for this URP available can be passed as request handler param(s).

      Configuration for ClassificationUpdateProcessorFactory in solrconfig.xml is optional.

      Attachments

        1. SOLR-10867.patch
          9 kB
          Amrit Sarkar
        2. SOLR-10867.patch
          20 kB
          Amrit Sarkar
        3. SOLR-10867.patch
          20 kB
          Amrit Sarkar
        4. SOLR-10867.patch
          20 kB
          Amrit Sarkar
        5. error_test
          141 kB
          Amrit Sarkar

        Activity

          People

            Unassigned Unassigned
            sarkaramrit2@gmail.com Amrit Sarkar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: