SolrException: No such core: core1
Hello every body, I tried to run this code: File f = new File (./solr/solr.xml); System.setProperty(solr.solr.home, solr); CoreContainer.Initializer initializer = new CoreContainer.Initializer(); CoreContainer coreContainer = initializer.initialize(); coreContainer.load(./solr/solr.xml, f); servercore1 = new EmbeddedSolrServer(coreContainer, core1); servercore2 = new EmbeddedSolrServer(coreContainer, core2); org.apache.solr.common.SolrException: No such core: core1 at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:104) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110) at fr.splayce.solr.handler.SolrCoreTest.deleteAll(SolrCoreTest.java:61) at fr.splayce.test.solr.core.highlighting.SolrCorePassageValideHighlighter.setup(SolrCorePassageValideHighlighter.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Some one could help me to resolve this problem? Thank you very much. Amel.
Re: SolrException: No such core: core1
Amel, how does your solr.xml look like? and if you visit the Solr-Admin-Interface, are there Links for (at least) two cores listed? Regards STefan On Fri, Apr 1, 2011 at 10:41 AM, Amel Fraisse amel.frai...@gmail.com wrote: Hello every body, I tried to run this code: File f = new File (./solr/solr.xml); System.setProperty(solr.solr.home, solr); CoreContainer.Initializer initializer = new CoreContainer.Initializer(); CoreContainer coreContainer = initializer.initialize(); coreContainer.load(./solr/solr.xml, f); servercore1 = new EmbeddedSolrServer(coreContainer, core1); servercore2 = new EmbeddedSolrServer(coreContainer, core2); org.apache.solr.common.SolrException: No such core: core1 at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:104) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110) at fr.splayce.solr.handler.SolrCoreTest.deleteAll(SolrCoreTest.java:61) at fr.splayce.test.solr.core.highlighting.SolrCorePassageValideHighlighter.setup(SolrCorePassageValideHighlighter.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Some one could help me to resolve this problem? Thank you very much. Amel.
Re: SolrException: No such core: core1
Hi Stefan, This my solr.xml: solr persistent=true sharedLib=lib property name=snapshooter value=/home/solr-user/solr/bin/snapshooter.sh / cores adminPath=/admin/cores shareSchema=false core name=core1 instanceDir=core1/ core name=core2 instanceDir=core2/ /cores /solr. And when I visit the solr Admin Interface (http://0.0.0.0:8983/solr/admin/) I have this message: HTTP ERROR: 404 missing core name in path RequestURI=/solr/admin/index.jsp * Amel. * 2011/4/1 Stefan Matheis matheis.ste...@googlemail.com Amel, how does your solr.xml look like? and if you visit the Solr-Admin-Interface, are there Links for (at least) two cores listed? Regards STefan On Fri, Apr 1, 2011 at 10:41 AM, Amel Fraisse amel.frai...@gmail.com wrote: Hello every body, I tried to run this code: File f = new File (./solr/solr.xml); System.setProperty(solr.solr.home, solr); CoreContainer.Initializer initializer = new CoreContainer.Initializer(); CoreContainer coreContainer = initializer.initialize(); coreContainer.load(./solr/solr.xml, f); servercore1 = new EmbeddedSolrServer(coreContainer, core1); servercore2 = new EmbeddedSolrServer(coreContainer, core2); org.apache.solr.common.SolrException: No such core: core1 at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:104) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110) at fr.splayce.solr.handler.SolrCoreTest.deleteAll(SolrCoreTest.java:61) at fr.splayce.test.solr.core.highlighting.SolrCorePassageValideHighlighter.setup(SolrCorePassageValideHighlighter.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Some one could help me to resolve this problem? Thank you very much. Amel.
Re: SolrException: No such core: core1
yes with this link : http://localhst:8983/solr/core1/admin I have the same message such : HTTP ERROR: 404 NOT_FOUND RequestURI=/solr/core1/admin Amel. 2011/4/1 Stefan Matheis matheis.ste...@googlemail.com Amel, for visiting the admin-interface, just start with http://host:port/solr - which will generate a list of available cores for you. in MultiCore-Mode you'll need to put the Core-Name into the url, like this: /solr/core1/admin Regards Stefan On Fri, Apr 1, 2011 at 11:03 AM, Amel Fraisse amel.frai...@gmail.com wrote: Hi Stefan, This my solr.xml: solr persistent=true sharedLib=lib property name=snapshooter value=/home/solr-user/solr/bin/snapshooter.sh / cores adminPath=/admin/cores shareSchema=false core name=core1 instanceDir=core1/ core name=core2 instanceDir=core2/ /cores /solr. And when I visit the solr Admin Interface (http://0.0.0.0:8983/solr/admin/) I have this message: HTTP ERROR: 404 missing core name in path RequestURI=/solr/admin/index.jsp Amel. 2011/4/1 Stefan Matheis matheis.ste...@googlemail.com Amel, how does your solr.xml look like? and if you visit the Solr-Admin-Interface, are there Links for (at least) two cores listed? Regards STefan On Fri, Apr 1, 2011 at 10:41 AM, Amel Fraisse amel.frai...@gmail.com wrote: Hello every body, I tried to run this code: File f = new File (./solr/solr.xml); System.setProperty(solr.solr.home, solr); CoreContainer.Initializer initializer = new CoreContainer.Initializer(); CoreContainer coreContainer = initializer.initialize(); coreContainer.load(./solr/solr.xml, f); servercore1 = new EmbeddedSolrServer(coreContainer, core1); servercore2 = new EmbeddedSolrServer(coreContainer, core2); org.apache.solr.common.SolrException: No such core: core1 at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:104) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110) at fr.splayce.solr.handler.SolrCoreTest.deleteAll(SolrCoreTest.java:61) at fr.splayce.test.solr.core.highlighting.SolrCorePassageValideHighlighter.setup(SolrCorePassageValideHighlighter.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Some one could help me to resolve this problem? Thank you very much. Amel.
Re: SolrException: No such core: core1
ok, 1. http://localhost:8983/solr/ : return a page with Welcome to Solr! Solr Admin http://0.0.0.0:8983/solr/admin/ 2. when I clik on SolrAdmin I have this message: HTTP ERROR: 404 missing core name in path RequestURI=/solr/admin/index.jsp So , I don't have the core list Amel. 2011/4/1 Stefan Matheis matheis.ste...@googlemail.com and my origin question .. accessing /solr and see which cores are list? On Fri, Apr 1, 2011 at 11:11 AM, Amel Fraisse amel.frai...@gmail.com wrote: yes with this link : http://localhst:8983/solr/core1/admin I have the same message such : HTTP ERROR: 404 NOT_FOUND RequestURI=/solr/core1/admin Amel. 2011/4/1 Stefan Matheis matheis.ste...@googlemail.com Amel, for visiting the admin-interface, just start with http://host:port/solr - which will generate a list of available cores for you. in MultiCore-Mode you'll need to put the Core-Name into the url, like this: /solr/core1/admin Regards Stefan On Fri, Apr 1, 2011 at 11:03 AM, Amel Fraisse amel.frai...@gmail.com wrote: Hi Stefan, This my solr.xml: solr persistent=true sharedLib=lib property name=snapshooter value=/home/solr-user/solr/bin/snapshooter.sh / cores adminPath=/admin/cores shareSchema=false core name=core1 instanceDir=core1/ core name=core2 instanceDir=core2/ /cores /solr. And when I visit the solr Admin Interface (http://0.0.0.0:8983/solr/admin/) I have this message: HTTP ERROR: 404 missing core name in path RequestURI=/solr/admin/index.jsp Amel. 2011/4/1 Stefan Matheis matheis.ste...@googlemail.com Amel, how does your solr.xml look like? and if you visit the Solr-Admin-Interface, are there Links for (at least) two cores listed? Regards STefan On Fri, Apr 1, 2011 at 10:41 AM, Amel Fraisse amel.frai...@gmail.com wrote: Hello every body, I tried to run this code: File f = new File (./solr/solr.xml); System.setProperty(solr.solr.home, solr); CoreContainer.Initializer initializer = new CoreContainer.Initializer(); CoreContainer coreContainer = initializer.initialize(); coreContainer.load(./solr/solr.xml, f); servercore1 = new EmbeddedSolrServer(coreContainer, core1); servercore2 = new EmbeddedSolrServer(coreContainer, core2); org.apache.solr.common.SolrException: No such core: core1 at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:104) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110) at fr.splayce.solr.handler.SolrCoreTest.deleteAll(SolrCoreTest.java:61) at fr.splayce.test.solr.core.highlighting.SolrCorePassageValideHighlighter.setup(SolrCorePassageValideHighlighter.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at
Re: SolrException: No such core: core1
On 4/1/2011 3:11 AM, Amel Fraisse wrote: yes with this link : http://localhst:8983/solr/core1/admin I have the same message such : HTTP ERROR: 404 NOT_FOUND RequestURI=/solr/core1/admin Try adding a trailing slash to the URL -- http://localhost:8983/solr/core0/admin/ and http://localhost:8983/solr/core1/admin/ ... without that extra character, you will get an error message about a missing core name, which also happens if you leave the core name out, as you've already seen. The error you've gotten above looks like core1 is just not working at all. Try core0 with the trailing slash, and see if you have links for both cores as Stefan asked. Does jetty output any error messages during startup or when trying to access the URLs that do not work? Those messages might go to stderr or might be logged, depending on exactly how you have it configured. I believe that unless you've changed the logging configuration in jetty, they will go to stderr, so try starting it by hand and letting the error messages go to the console. Shawn
Re: SolrException: No such core
: Here the wrappers to use ...solrj.SolrServer : [code] : public class SolrCoreServer : { :private static Logger log = LoggerFactory.getLogger(SolrCoreServer.class); : :private SolrServer server=null; : :public SolrCoreServer(CoreContainer container, String coreName) :{ : server = new EmbeddedSolrServer( container, coreName ); :} showing the code for your SolrCoreServer isn't any use if you don't show us how you construct instance of it ... how are you initializing that CoreContainer? In general, you've provided a lot of info, but you haven't answered most of my very specific questions... : * what does your code for initializing solr look like? ...need to details on the CoreContainer (and what coreName you are passing) for that to be of any use. : * what does your soler home dir look like (ie: what files are in it) ...you showed us the files, but not the directory structure : * what is the full stack trace of these exceptions, and what does your : code look like around the lines where these stack traces indicate your : code is interacting with solr? ...no mention what so ever in your response. -Hoss
Re: SolrException: No such core
distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -- !-- This is a stripped down config file used for a simple example... It is *not* a good example to work from. -- config mainIndex maxFieldLength10/maxFieldLength /mainIndex updateHandler class=solr.DirectUpdateHandler2 / requestDispatcher handleSelect=true requestParsers enableRemoteStreaming=true multipartUploadLimitInKB=2048 / /requestDispatcher requestHandler name=standard class=solr.StandardRequestHandler default=true / requestHandler name=/update class=solr.XmlUpdateRequestHandler / requestHandler name=/admin/ class=org.apache.solr.handler.admin.AdminHandlers / !-- config for the admin interface -- admin defaultQuery*:*/defaultQuery /admin indexDefaults lockTypenative/lockType /indexDefaults /config [/code] solr.xml [code] ?xml version='1.0' encoding='UTF-8'?solr persistent=true cores adminPath=/admin/cores core name=core0 instanceDir=core0// /cores /solr [/code] - Mail Original - De: Chris Hostetter hossman_luc...@fucit.org À: solr-user@lucene.apache.org Envoyé: Mardi 1 Juin 2010 23h42:56 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: SolrException: No such core You have to give us more details then that if you expect anyone to have a clue what might be going wrong... * what does your code for initializing solr look like? * what does your soler home dir look like (ie: what files are in it) * what do all of your config files look like? * what is the full stack trace of these exceptions, and what does your code look like around the lines where these stack traces indicate your code is interacting with solr? * etc... http://wiki.apache.org/solr/UsingMailingLists : Date: Fri, 28 May 2010 11:19:49 +0200 (CEST) : From: jfmn...@free.fr : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: SolrException: No such core : : With embedded solr (1.3.0) sometime a SolrException happens. : I don't understand why : I have not been able to find a scenario. : : : org.apache.solr.common.SolrException: No such core: core0 : at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:112) : at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217) : at org.apache.solr.client.solrj.SolrServer.deleteById(SolrServer.java:97) : : Regards : : JF : -Hoss
Re: SolrException: No such core
You have to give us more details then that if you expect anyone to have a clue what might be going wrong... * what does your code for initializing solr look like? * what does your soler home dir look like (ie: what files are in it) * what do all of your config files look like? * what is the full stack trace of these exceptions, and what does your code look like around the lines where these stack traces indicate your code is interacting with solr? * etc... http://wiki.apache.org/solr/UsingMailingLists : Date: Fri, 28 May 2010 11:19:49 +0200 (CEST) : From: jfmn...@free.fr : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: SolrException: No such core : : With embedded solr (1.3.0) sometime a SolrException happens. : I don't understand why : I have not been able to find a scenario. : : : org.apache.solr.common.SolrException: No such core: core0 : at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:112) : at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217) : at org.apache.solr.client.solrj.SolrServer.deleteById(SolrServer.java:97) : : Regards : : JF : -Hoss
SolrException: No such core
With embedded solr (1.3.0) sometime a SolrException happens. I don't understand why : I have not been able to find a scenario. org.apache.solr.common.SolrException: No such core: core0 at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:112) at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217) at org.apache.solr.client.solrj.SolrServer.deleteById(SolrServer.java:97) Regards JF