DataDir and DirectoryFactory in SolrConfig
2014-01-21 00:00
246 查看
Specifying a Location for Index Data with the dataDir Parameter
By default, Solr stores its index data in a directory called /data under the Solr home. If you would like to specify a different directory for storing index data, use the <dataDir> parameter in the solrconfig.xml file. You can specify another directory either with a full pathname or a pathname relative to the current working directory of the servlet container. For example:<dataDir>/var/data/solr/</dataDir> |
Specifying the DirectoryFactory For Your Index
The default solr.StandardDirectoryFactory is filesystem based, and tries to pick the best implementation for the current JVM and platform. You can force a particular implementation by specifyingsolr.MMapDirectoryFactory, solr.NIOFSDirectoryFactory, or solr.SimpleFSDirectoryFactory.<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/> |
<directoryFactory class="org.apache.solr.core.RAMDirectoryFactory"/> |
相关文章推荐
- exception in initAndListen: 29 Data directory /data/db not found., terminating
- Overview of solrconfig.xml 之 Common XML data-structure and type elements
- solr-8 RequestHandlers and SearchComponents in SolrConfig
- The database principal owns a schema in the database, and cannot be dropped. (.Net SqlClient Data Pr
- 论文阅读:Automatic Detection and Classication of Teeth in CT Data
- There are 0 datanode(s) running and no node(s) are excluded in this operation
- Sorting and filtering data in an XMLListCollection
- Data Scheduling and Transmission Strategies in Asymmetric Telecommunication Environments
- How To Create a Child Domain in Active Directory and Delegate the DNS Namespace to the Child Domain
- solr data-config.xml配置文件的见解mysql数据源
- Android: Simplified source code for parsing and working with XML data and web services in Android
- Win A Free Copy of Packt’s Managing Multimedia and Unstructured Data in the Oracle Database e-book
- D-Bus : Transmit a Data Array in Simple and Useful Form
- Analyzing Kernel Modules Data in OProfile in Fedora Core 3/4 and RHEL4
- open files in a directory and then find someword in the text tcl tk
- Hadoop Datanode节点无法启动(All directories in dfs.data.dir are invalid)
- Get and display the size of file and directory in Linux system using du command 获取和现实linux文件大小(三)
- Geometric and Topological Data Structure Presentation in Open Cascade [1]
- Active Directory Authentication in ASP.NET MVC 5 with Forms Authentication and Group-Based Authorization
- Scripting <path> data in SVG (reading and modifying)