Versions 4.10.3 and beyond already use server rather than example, which still finds a reference in the script purely for back compat. A major release 5.0 is coming soon, perhaps the back compat can be removed for that. On 6 Jan 2015 09:30, "Dominique Bejean" <dominique.bej...@eolya.fr> wrote:
> Hi, > > In release 4.10.3, the following lines were removed from solr starting > script (bin/solr) > > # TODO: see SOLR-3619, need to support server or example > # depending on the version of Solr > if [ -e "$SOLR_TIP/server/start.jar" ]; then > DEFAULT_SERVER_DIR=$SOLR_TIP/server > else > DEFAULT_SERVER_DIR=$SOLR_TIP/example > fi > > However, the usage message always say > > " -d <dir> Specify the Solr server directory; defaults to server" > > > Either the usage have to be fixed or the removed lines put back to the > script. > > Personally, I like the default to server directory. > > My installation process in order to have a clean empty solr instance is to > copy examples into server and remove directories like example-DIH, > example-shemaless, multicore and solr/collection1 > > Solr server (or node) can be started without the -d parameter. > > If this makes sense, a Jira issue could be open. > > Dominique > http://www.eolya.fr/ >