Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - Connect to SOLR over socket file


Copy link to this message
-
Re: Connect to SOLR over socket file
Michael Kuhlmann 2012-08-08, 07:14
On 07.08.2012 21:43, Jason Axelson wrote:
> Hi,
>
> Is it possible to connect to SOLR over a socket file as is possible
> with mysql? I've looked around and I get the feeling that I may be
> mi-understanding part of SOLR's architecture.
>
> Any pointers are welcome.
>
> Thanks,
> Jason

Hi Jason,

not that I know of. This has nothing to do with Solr, it depends on the
web server you are using. Tomcat, Jetty and the others are using TCP/IP
directly through java.io or java.nio classes, and Solr is just one web
app that is handled by them.

Java web servers typically run on a separate host, and in contrast to
MySQL, the local deployment is rather the exception than the standard.

If you don't want the network overhead, than use an embedded Solr
server: http://wiki.apache.org/solr/EmbeddedSolr

Greetings,
Kuli