This question about : Asked

FOSWIKI_ROOT/solr/multicore/foswiki missing

Trying to install SolrPlugin in Foswiki 1.1.9. I downloaded and installed the code which was published on July 14th, 2013.

The description under http://foswiki.org/Extensions/SolrPlugin#Setting_up_separate_cores_for_virtual_hosting says:
By default SolrPlugin comes with a predefined core named "foswiki". All data of this core is thus stored in the .../solr/multicore/foswiki/ directory. All cores have got separate URLs to access them: [...] To create a new core, copy the .../solr/multicore/_template directory to a new directory under the multicore directory [...]

So I would expect that after installation there should be a $FOSWIKI_ROOT/solr/multicore/foswiki directory and a template directory called $FOSWIKI_ROOT/solr/multicore/_template, or at least one of the two. In those directories, I would expect configuration fields for indexing Foswiki contents, such as the solrconfig.xml file. However, I cannot find either of those directories.

Did I misunderstand the documentation, or is something missing in the current installation packages?

-- ClausBrod - 02 Jan 2014

Update: From what I can see, the missing directories are indeed not part of the installer packages for the plugin. In the meantime, I found the missing directories in the github repo at https://github.com/foswiki/foswiki/tree/master/SolrPlugin/solr/multicore. The structure there is as follows:

solr/multicore
  conf
  foswiki
    conf (symbolic link to ../conf)
  _template
    conf (symbolic link to ../conf)

-- ClausBrod - 03 Jan 2014
 

QuestionForm edit

Subject
Extension SolrPlugin
Version Foswiki 1.1.9
Status Asked
Related Topics
Topic revision: r2 - 03 Jan 2014, ClausBrod
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy