lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "Solrj" by MarkBennett
Date Wed, 14 Dec 2011 17:36:12 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "Solrj" page has been changed by MarkBennett:
http://wiki.apache.org/solr/Solrj?action=diff&rev1=63&rev2=64

Comment:
Minor warning about whether Embedded Solr is a good idea or not.

  If you need to use solr in an embedded application, this is the recommended approach. It
allows you to work with the same interface whether or not you have access to HTTP.
  
  /!\ Note -- !EmbeddedSolrServer works only with handlers registered in [[http://wiki.apache.org/solr/SolrConfigXml|solrconfig.xml]].
A [[http://wiki.apache.org/solr/SolrRequestHandler|RequestHandler]] must be mapped to /update
for a request to /update to function.
+ 
+ /!\ Note -- ''Isn't !EmbeddedSolrServer not considered a "Best Practice"?  Perhaps some
issue with isolation of JVMs.''
  
  = Usage =
  Solrj is designed as an extendable framework to pass [[http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/SolrRequest.html|SolrRequest]]
to the [[http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/SolrServer.html|SolrServer]]
and return a [[http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/SolrResponse.html|SolrResponse]].

Mime
View raw message