Using EmbeddedSolrServer is a client side way of communicating with Solr via the file system. Solr has to still be up and running before that. My question is more along the lines of how to put the server jars that perform the core functionality and bundle them to start up within a war which is also the application war for the program that will communicate as the client with the Solr server.
On Thu, Feb 18, 2010 at 5:49 PM, Richard Frovarp <rfrov...@apache.org> wrote: > On 2/18/2010 4:22 PM, Pulkit Singhal wrote: >> >> Hello Everyone, >> >> I do NOT want to host Solr separately. I want to run it within my war >> with the Java Application which is using it. How easy/difficult is >> that to setup? Can anyone with past experience on this topic, please >> comment. >> >> thanks, >> - Pulkit >> >> > > So basically you're talking about running an embedded version of Solr like > the EmbeddedSolrServer? I have no experience on this, but this should > provide you the correct search term to find documentation on use. From what > little code I've seen to run test cases against Solr, it looks relatively > straight forward to get running. To use you would use the SolrJ library to > communicate with the embedded solr server. > > Richard >