solrj - Optimize single core of a solr server having multiple cores -


my solr server having multiple cores. possible optimize single core of using solrj?

i believe you're looking for:

public updateresponse optimize(string collection){} 

being collection:

collection: complete logical index in solrcloud cluster. associated config set , made of 1 or more shards. if number of shards more one, distributed index, solrcloud lets refer collection name , not worry shards parameter required distributedsearch.

and core:

solr core: referred "core". running instance of lucene index along solr configuration (solrconfigxml, schemaxml, etc...) required use it. single solr application can contain 0 or more cores run largely in isolation can communicate each other if necessary via corecontainer. historical perspective: solr supported 1 index, , solrcore class singleton coordinating low-level functionality @ "core" of solr. when support added creating , managing multiple cores on fly, class refactored no longer singleton, name stuck.

you can find more information regarding method , solr terminology here: https://lucene.apache.org/solr/5_2_1/solr-solrj/index.html?overview-summary.html https://wiki.apache.org/solr/solrterminology

hope helps!


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -