🔧
SolrCloud & Distributed Search

Collections API

Managing Collections via HTTP
💡 Collections, API, EK, "REMOTE, CONTROL", jaisa, hai, poore, SolrCloud, cluster, ke, liye — HTTP, calls, se, hi, collections, CREATE, DELETE, ya, SCALE, kiya, ja, sakta hai.

Collections, API, se, HTTP, calls, ke, ZARIYE, collections, CREATE, DELETE, RELOAD, aur, MODIFY, kiye, ja, sakte, HAIN — YE, SolrCloud, mein, ADMINISTRATIVE, tasks, ke, liye, MAIN, INTERFACE, hai.

Collections, API, se, RUNTIME, mein, bhi, NAYE, replicas, ADD, kiye, ja, sakte, HAIN, bina, downtime, ke — jab, TRAFFIC, badhta, hai, TO, EXISTING, collection, ko, MORE, replicas, se, SCALE, kiya, ja, sakta hai.

curl "http://localhost:8983/solr/admin/collections?action=CREATE&name=mycollection&numShards=2&replicationFactor=2"
🔧
Collections, API, EK, "REMOTE, CONTROL", jaisa, hai, poore, SolrCloud, cluster, ke, liye — HTTP, calls, se, hi, collections, CREATE, DELETE, ya, SCALE, kiya, ja, sakta hai.
1 / 2
⚡ झट से Recap
  • Collections API = HTTP calls se collections create/delete/modify
  • Runtime mein naye replicas add kiye ja sakte hain, bina downtime
  • SPLITSHARD action se existing shard ko do mein split kiya ja sakta hai
इस page में (2 subtopics)

Collections, API, se, HTTP, calls, ke, ZARIYE, collections, CREATE, DELETE, RELOAD, aur, MODIFY, kiye, ja, sakte, HAIN — YE, SolrCloud, mein, ADMINISTRATIVE, tasks, ke, liye, MAIN, INTERFACE, hai.

curl "http://localhost:8983/solr/admin/collections?action=CREATE&name=mycollection&numShards=2&replicationFactor=2"

Collections, API, se, RUNTIME, mein, bhi, NAYE, replicas, ADD, kiye, ja, sakte, HAIN, bina, downtime, ke — jab, TRAFFIC, badhta, hai, TO, EXISTING, collection, ko, MORE, replicas, se, SCALE, kiya, ja, sakta hai.

💡Tip: Collections, API, ke, saath, "SPLITSHARD" action, se, EK, EXISTING, shard, ko, DO, mein, SPLIT, bhi, kiya, ja, sakta hai — RESHARDING, without, full, REINDEX, ke.