I want to know How to create Solr indexes through Command Prompt…?
If my apache_solr is configured at remote machine and I can not able to run browser there…so if I want to create indexes, How can I do that?
I have one servlet which can do the indexing but I want to know is it possible through command prompt or there are any other way to do the same…?
Thanks…
With curl you can issue command directly from commandline like
If you want you can wrap this into small bash scripts and put it under /usr/local/bin. For example:
This way you can issue command from commandline: