[
https://issues.apache.org/jira/browse/SOLR-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noble Paul updated SOLR-7001:
-----------------------------
Summary: API to manage ValueSourceParser (was: API to manage
ValuSourceParser)
> API to manage ValueSourceParser
> -------------------------------
>
> Key: SOLR-7001
> URL: https://issues.apache.org/jira/browse/SOLR-7001
> Project: Solr
> Issue Type: Sub-task
> Reporter: Noble Paul
> Assignee: Noble Paul
>
> example
> {code}
> curl http://localhost:8983/solr/collection1/config -H
> 'Content-type:application/json' -d '{
> "create-valuesourceparser" : {"name": "nvl" ,
>
> "class":"solr.org.apache.solr.search.function.NvlValueSourceParser ,
> "nvlFloatValue":0.0 },
> "update-valuesourceparser" :{"name": "spell" ,
>
> "class":"solr.org.apache.solr.search.function.NvlValueSourceParser" ,
> "nvlFloatValue":1.0
> },
> "delete-valuesourceparser" :"nvl"
> }'
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]