Just the one `solr.xml`. The one I added (well, symlinked form my config folder -- I like to keep my configurations files organized so they can be managed by git)
`start.jar` is in `usr/share/jetty/start.jar`. On Tuesday, 16 August, 2011 at 1:33 PM, Alexei Martchenko wrote: > AFAIK you're still seeing singlecore version.... > > where is your start.jar? > > search for solr.xml, see how many u've got plz. > > 2011/8/16 David Sauve <dnsa...@gmail.com (mailto:dnsa...@gmail.com)> > > > I've installed using aptitude so I don't have an example folder (that I > > can find). > > > > /solr/ does work (but lists no cores) > > /solr/live/admin/ does not -- 404 > > > > > > On Tuesday, 16 August, 2011 at 1:13 PM, Alexei Martchenko wrote: > > > > > Lets try something simplier. > > > My start.jar is on \apache-solr-3.3.0\example\ > > > Here's my local config placed in \apache-solr-3.3.0\example\solr\ > > > > > > <?xml version="1.0" encoding="UTF-8" ?> > > > <solr persistent="true"> > > > <cores adminPath="/admin/cores"> > > > <core name="softwares01" instanceDir="softwares01" /> > > > </cores> > > > </solr> > > > > > > Create \apache-solr-3.3.0\example\solr\softwares01\conf\ > > > and \apache-solr-3.3.0\example\solr\softwares01\data\ > > > > > > http://localhost:8983/solr/ should work and so is > > > http://localhost:8983/solr/softwares01/admin/ > > > > > > > > > > > > 2011/8/16 David Sauve <dnsa...@gmail.com (mailto:dnsa...@gmail.com)> > > > > > > > I've been trying (unsuccessfully) to get multicore working for about a > > day > > > > and a half now I'm nearly at wits end and unsure what to do anymore. > > **Any** > > > > help would be appreciated. > > > > > > > > I've installed Solr using the solr-jetty packages on Ubuntu 10.04. The > > > > default Solr install seems to work fine. > > > > > > > > Now, I want to add three cores: live, staging, preview to be used for > > the > > > > various states of the site. > > > > > > > > I've created a `solr.xml` file as follows and symlinked it in to > > > > /usr/share/solr: > > > > > > > > <?xml version="1.0" encoding="UTF-8" ?> > > > > <solr persistent="false"> > > > > <cores adminPath="/admin/cores"> > > > > <core name="preview" instanceDir="/home/webteam/config/search/preview" > > > > dataDir="/home/webteam/preview/data" /> > > > > <core name="staging" instanceDir="/home/webteam/config/search/staging" > > > > dataDir="/home/webteam/staging/data" /> > > > > <core name="live" instanceDir="/home/webteam/config/search/live" > > > > dataDir="/home/webteam/live/data" /> > > > > </cores> > > > > </solr> > > > > > > > > Now, when I try to view any cores, I get a 404 - Not found. In fact, I > > > > can't even view /solr/admin/ anymore after installing that `solr.xml` > > file. > > > > > > > > Also, /solr/admin/cores returns an XML file, but it looks to me like > > > > there's no cores listed. The output: > > > > > > > > <response> > > > > <lst name="responseHeader"> > > > > <int name="status">0</int> > > > > <int name="QTime">0</int> > > > > > > > > </lst> > > > > > > > > > > > > <lst name="status"/> > > > > > > > > </response> > > > > > > > > > > > > Finally, looking through the logs produced by Jetty doesn't seem to > > reveal > > > > any clues about what is wrong. There doesn't seem to be any errors in > > there, > > > > except the 404s. > > > > > > > > Long story short. I'm stuck. Any suggestions on where to go with this? > > > > > > > > David > > > > > > > > > -- > > > > > > *Alexei Martchenko* | *CEO* | Superdownloads > > > ale...@superdownloads.com.br (mailto:ale...@superdownloads.com.br) | > > ale...@martchenko.com.br (mailto:ale...@martchenko.com.br) | (11) > > > 5083.1018/5080.3535/5080.3533 > > > -- > > *Alexei Martchenko* | *CEO* | Superdownloads > ale...@superdownloads.com.br (mailto:ale...@superdownloads.com.br) | > ale...@martchenko.com.br (mailto:ale...@martchenko.com.br) | (11) > 5083.1018/5080.3535/5080.3533