I need to add search functionality to my Java webapp running on tomcat, along with the database as well on the same machine.
Since I'm planning to use Solr on this same machine but which implementation should be used? I thought Embedded one is more preferable since I need to be adding data from the same machine, so adding via HTTP wont make much sense, no? & moreover running Solr as a separate web app would consume more resources than the embedded one(isn't it?).
But now that the use of EmbeddedSolrServer is not recommended, how do people use Solr when they need to keep Solr on the same machine as the webapp ?
"run Solr on the same machine in its own JVM.."
- shouldn't I be moving it to Tomcat when it's already running so as to prevent unnecessary resource consumption ? – Dismuke