3
votes
  • I am a new to solr working on solr version 4.8.0. I want to add/update/delete fields in the schema.xml at runtime using solrj. i can create or delete a core using solrj.
  • For adding documents or search using solrj, i referred this link
  • I want to learn advance functionality in solrj. I need any good tutorials or example code. Can anyone please guide me?

Thanks in advance.

2
3rd question is not clear to me, could you explain it?Mysterion
Hi @Kumar, have you found a way to add a field to the shema with Solrj?cloudy_weather

2 Answers

2
votes

Solrj version 5.3 (features) introduced an experimental Schema API.

1
votes

I think this page - https://wiki.apache.org/solr/SchemaRESTAPI contains all you need. Pay attention to Modifying the schema section. Although, it's not SolrJ way but it will work fine for you.