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

Make URLClassifyProcessor 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.

      URLClassifyProcessorFactory 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=URLClassify&urlclassify.inputField=fieldA&urlclassify.lengthOutputField=fieldB&urlclassify.levelsOutputField=fieldC&urlclassify.toplevelOutputField=fieldD&urlclassify.landingpageOutputField=fieldE&urlclassify.domainOutputField=fieldF&urlclassify.canonicalUrlOutputField=fieldG&commit=true --data-binary {"id" : "1", "fieldA" : "valueA"}
      

      Configuration for URLClassifyProcessorFactory in solrconfig.xml is optional.

      Attachments

        1. SOLR-10859.patch
          18 kB
          Amrit Sarkar
        2. SOLR-10859.patch
          13 kB
          Amrit Sarkar
        3. SOLR-10859.patch
          9 kB
          Amrit Sarkar
        4. SOLR-10859.patch
          4 kB
          Amrit Sarkar

        Activity

          People

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

            Dates

              Created:
              Updated: