Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here is the output of tree from my /path/to/tomcat/bin/solr directory:
- teemo:solr pak$ tree
- .
- ├── data
- │ ├── feeds
- │ │ ├── index
- │ │ └── spellchecker
- │ └── savedsearches
- │ ├── index
- │ └── spellchecker
- ├── feeds -> /Users/pak/projects/manzama/PyApp/config/solr_ac/feeds
- ├── savedsearches -> /Users/pak/projects/manzama/PyApp/config/solr_ac/savedsearches
- └── solr.xml -> /Users/pak/projects/manzama/PyApp/config/solr_ac/solr.xml
- And here is my solr.xml file:
- <solr persistent="true" sharedLib="lib">
- <cores adminPath="/admin/cores">
- <core name="savedsearches" instanceDir="savedsearches">
- <property name="dataDir" value="/data/savedsearches" />
- </core>
- <core name="feeds" instanceDir="feeds">
- <property name="dataDir" value="/data/feeds" />
- </core>
- </cores>
- </solr>
- Both cores have the same entry in solrconfig.xml for datadir:
- <dataDir>${solr.data.dir:}</dataDir>
Add Comment
Please, Sign In to add comment