-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
Milestone
Description
After a conversation with someone on IRC it came to my attention that Yokozuna should support schema updates + index reloading sooner rather than later. The user was performing these basic steps that would better be handled by Yokozuna itself.
- Modify the schema.
- Copy the schema to /data/yz//conf/.xml on each node.
- Reboot each Riak node to reload the schema.
- New objects can use new fields. New fields can be queried on.
This could be done in Yokozuan like so:
- Modify schema.
- Update in Yokozuna:
curl -X PUT -H 'content-type: application/json' 'http://host:port/yz/schema/<schema name>' --data-binary @<schema name>.xml
- Tell Yokozuna to reload the index:
curl -X POST -H 'content-type: text/plain' 'http://host:port/yz/index/<index name>' RELOAD
This would use Solr's core RELOAD command and wouldn't require a restart.
asyncmind0