Hi Ravi,
On Sat, Aug 9, 2008 at 4:48 AM, Ravish Bhagdev <[EMAIL PROTECTED]>wrote: > Hi, > > This may be a naive question but do we really need to have solr.solr.home > variable for solr installation? It is a bit annoying modifying tomcat > settings in automated install. If I create a packaged application, how do > I > ensure a normal user would be able to install it without having to modify > tomcat batch or shell files (or service settings in case of msi installer)? > If not possible what will be the easiest way to automate the process (cross > platform)? The solr home variables tells Solr where to look for it's config files. You can configure it in a variety of ways as given at the installation section at http://wiki.apache.org/solr/ You can also avoid it completely by having the container's current working directory contain the solr folder, though not a very nice approach in your case. > > > Also, is it possible to run solr without needing to host it in a http > container? Yes it is, if you are using Java. See the EmbeddedSolrServer in Solrj. http://wiki.apache.org/solr/Solrj > Why do we need webapp to index or query?? The HTTP/XML interface gives a great advantage to Solr. Non-Java clients can easily consume it. It is also great for scaling to high loads. You can put multiple Solr boxes behind a HTTP load balancer. You can even put a caching proxy (like squid) before it. Hope that helps. -- Regards, Shalin Shekhar Mangar.