Re: Location of Main Class in Solr?

2011-03-05 Thread Koji Sekiguchi

(11/03/04 3:30), Anurag wrote:

I searched SolrIndexSearcher.java file but there is no main class.  I wanted
to know as to where this class resides. Can i call this main class (if it
exists)  using command line options in terminal , rather than through war
file?


Kumar,

I think you may want to use EmbeddedSolrServer from your mail method.
Please see:

http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer

Koji
--
http://www.rondhuit.com/en/


Re: Location of Main Class in Solr?

2011-03-05 Thread Anurag
Thanks.

On Sat, Mar 5, 2011 at 7:58 PM, Koji Sekiguchi [via Lucene] 
ml-node+2638122-740990375-146...@n3.nabble.com wrote:

 (11/03/04 3:30), Anurag wrote:
  I searched SolrIndexSearcher.java file but there is no main class.  I
 wanted
  to know as to where this class resides. Can i call this main class (if it

  exists)  using command line options in terminal , rather than through war

  file?

 Kumar,

 I think you may want to use EmbeddedSolrServer from your mail method.
 Please see:

 http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer

 Koji
 --
 http://www.rondhuit.com/en/


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lucene.472066.n3.nabble.com/Location-of-Main-Class-in-Solr-tp2627576p2638122.html
  To unsubscribe from Location of Main Class in Solr?, click 
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=2627576code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXwyNjI3NTc2fC0yMDk4MzQ0MTk2.





-- 
Kumar Anurag


-
Kumar Anurag

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Location-of-Main-Class-in-Solr-tp2627576p2638658.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Location of Main Class in Solr?

2011-03-05 Thread Anurag
Do you mean that a .class(DOT class) file is responsible for executing the
solr server, hence no Public Static void main is present anywhere.?

Actually i want to play with the Searcher.java file , but i am finding
difficulty as the Searcher file is very big and any changes will lead to
incompatibility with other files.

On Sat, Mar 5, 2011 at 11:00 PM, kumar anurag anurag.it.jo...@gmail.comwrote:

 Thanks.


 On Sat, Mar 5, 2011 at 7:58 PM, Koji Sekiguchi [via Lucene] 
 ml-node+2638122-740990375-146...@n3.nabble.com wrote:

 (11/03/04 3:30), Anurag wrote:
  I searched SolrIndexSearcher.java file but there is no main class.  I
 wanted
  to know as to where this class resides. Can i call this main class (if
 it
  exists)  using command line options in terminal , rather than through
 war
  file?

 Kumar,

 I think you may want to use EmbeddedSolrServer from your mail method.
 Please see:

 http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer

 Koji
 --
 http://www.rondhuit.com/en/


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lucene.472066.n3.nabble.com/Location-of-Main-Class-in-Solr-tp2627576p2638122.html
  To unsubscribe from Location of Main Class in Solr?, click 
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=2627576code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXwyNjI3NTc2fC0yMDk4MzQ0MTk2.





 --
 Kumar Anurag




-- 
Kumar Anurag


-
Kumar Anurag

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Location-of-Main-Class-in-Solr-tp2627576p2638667.html
Sent from the Solr - User mailing list archive at Nabble.com.