Guest User

Untitled

a guest
May 25th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.04 KB | None | 0 0
  1. Here is the output of tree from my /path/to/tomcat/bin/solr directory:
  2.  
  3. teemo:solr pak$ tree
  4. .
  5. ├── data
  6. │   ├── feeds
  7. │   │   ├── index
  8. │   │   └── spellchecker
  9. │   └── savedsearches
  10. │       ├── index
  11. │       └── spellchecker
  12. ├── feeds -> /Users/pak/projects/app/PyApp/config/solr_ac/feeds
  13. ├── savedsearches -> /Users/pak/projects/app/PyApp/config/solr_ac/savedsearches
  14. └── solr.xml -> /Users/pak/projects/app/PyApp/config/solr_ac/solr.xml
  15.  
  16.  
  17.  
  18. And here is my solr.xml file:
  19.  
  20. <solr persistent="true" sharedLib="lib">
  21.     <cores adminPath="/admin/cores">
  22.         <core name="savedsearches" instanceDir="savedsearches">
  23.             <property name="dataDir" value="/data/savedsearches" />
  24.         </core>
  25.         <core name="feeds" instanceDir="feeds">
  26.             <property name="dataDir" value="/data/feeds" />
  27.         </core>
  28.     </cores>
  29. </solr>
  30.  
  31.  
  32. Both cores have the same entry in solrconfig.xml for datadir:
  33. <dataDir>${solr.data.dir:}</dataDir>
Add Comment
Please, Sign In to add comment