solrconfig.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <!--
  17. This is a stripped down config file used for a simple example...
  18. It is *not* a good example to work from.
  19. -->
  20. <config>
  21. <luceneMatchVersion>LUCENE_36</luceneMatchVersion>
  22. <!-- The DirectoryFactory to use for indexes.
  23. solr.StandardDirectoryFactory, the default, is filesystem based.
  24. solr.RAMDirectoryFactory is memory based, not persistent, and doesn't work with replication. -->
  25. <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/>
  26. <updateHandler class="solr.DirectUpdateHandler2" />
  27. <requestDispatcher handleSelect="true" >
  28. <requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
  29. </requestDispatcher>
  30. <requestHandler name="standard" class="solr.StandardRequestHandler" default="true" />
  31. <requestHandler name="/update" class="solr.XmlUpdateRequestHandler" />
  32. <requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
  33. <!-- config for the admin interface -->
  34. <admin>
  35. <defaultQuery>solr</defaultQuery>
  36. </admin>
  37. </config>