lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Bejean <dominique.bej...@eolya.fr>
Subject Re: Solr startup script in version 4.10.3
Date Tue, 13 Jan 2015 13:45:48 GMT
Thank you for your responses.

However, according to my tests, solr 4.10.3 doesn’t use server by default
anymore due to the removal of these lines in the bin/solr script.

# 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


Solr 5.0.0 does in both standalone and solrcloud modes ! This is great !

Dominique
http://www.eolya.fr/


Le jeudi 8 janvier 2015, Anshum Gupta <anshum@anshumgupta.net> a écrit :

> Things have changed reasonably for the 5.0 release.
> In case of a standalone mode, it still defaults to the server directory. So
> you'd find your logs in server/logs.
> In case of solrcloud mode e.g. if you ran
>
> bin/solr -e cloud -noprompt
>
> this would default to stuff being copied into example directory (leaving
> server directory untouched) and everything would run from there.
>
> You will also have the option of just creating a new SOLR home and using
> that instead. See the following:
>
>
> https://cwiki.apache.org/confluence/display/solr/Getting+Started+with+SolrCloud
>
> The link above is for the upcoming Solr 5.0 and is still work in progress
> but should give you more information.
> Hope that helps.
>
>
> On Tue, Jan 6, 2015 at 1:29 AM, Dominique Bejean <
> dominique.bejean@eolya.fr <javascript:;>>
> 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/
> >
>
>
>
> --
> Anshum Gupta
> http://about.me/anshumgupta
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message