Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. http://www.apache.org/licenses/LICENSE-2.0
  2.  
  3. Unless required by applicable law or agreed to in writing, software
  4. distributed under the License is distributed on an "AS IS" BASIS,
  5. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  6. See the License for the specific language governing permissions and
  7. limitations under the License.
  8. -->
  9.  
  10. <!--
  11. This is an example of a simple "solr.xml" file for configuring one or
  12. more Solr Cores, as well as allowing Cores to be added, removed, and
  13. reloaded via HTTP requests.
  14.  
  15. More information about options available in this configuration file,
  16. and Solr Core administration can be found online:
  17. http://wiki.apache.org/solr/CoreAdmin
  18. -->
  19.  
  20. <solr>
  21.  
  22. <solrcloud>
  23.  
  24. <str name="host">${host:}</str>
  25. <int name="hostPort">${jetty.port:8983}</int>
  26. <str name="hostContext">${hostContext:solr}</str>
  27.  
  28. <bool name="genericCoreNodeNames">${genericCoreNodeNames:true}</bool>
  29.  
  30. <int name="zkClientTimeout">${zkClientTimeout:30000}</int>
  31. <int name="distribUpdateSoTimeout">${distribUpdateSoTimeout:600000}</int>
  32. <int name="distribUpdateConnTimeout">${distribUpdateConnTimeout:60000}</int>
  33.  
  34. </solrcloud>
  35.  
  36. <shardHandlerFactory name="shardHandlerFactory"
  37. class="HttpShardHandlerFactory">
  38. <int name="socketTimeout">${socketTimeout:600000}</int>
  39. <int name="connTimeout">${connTimeout:60000}</int>
  40. </shardHandlerFactory>
  41.  
  42. </solr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement