Hi Ranveer,
I assume that you have enough knowlesge in Java. You should essentially
your code for instantiating the server (depending on what you intend to
do this may be done in a separate class or in a method of the class doing
the queries). Then you use this instance to handle all the queries
Hi Sven,
thanks for reply.
yes i notice that every time when request, new instance is created of solr
server.
could you please guide me to do the same ( initialization to create an
instance of SolrServer, once during first request).
On Mon, Feb 8, 2010 at 2:11 AM, Sven Maurmann wrote:
> Hi,
>
>
Hi,
would it be possible that you instantiate a new instance of your SolrServer
every time you do a query?
You should use the code you quoted in your mail once during initialization
to create an instance of SolrServer (the interface being implemented by
EmbeddedSolrServer) and subsquently use th
Hi All,
I am still very new to solr.
Currently I am facing problem to use EmbeddedSolrServer.
following is my code:
File home = new
File("D:/ranveer/java/solr_home/solr/first");
CoreContainer coreContainer = new CoreContainer();
SolrConfig config = null;
config = new SolrConfig(ho