Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
curl -X POST \
"${SOLR_URL}/movies/schema" \
-H 'Content-Type: application/json' \
-d '{
"replace-field":{
"name":"title",
"type":"text_en",
"multiValued":false
},
"replace-field":{
"name":"plot",
"type":"text_en",
"multiValued":false
},
"replace-field":{
"name":"genres",
"type":"text_en",
"multiValued":true
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment