On 4/2/07, Erik Hatcher <[EMAIL PROTECTED]> wrote:
I have a client need to embed Solr behind an already built custom TCP/
IP interface (currently for Lucene, but want to swap in Solr to
benefit from its additional goodness of course). Have folks already
done this? Experiences? Or perhaps there are some thoughts on why
this may or may not be a good idea and any technical hurdles that
might be encountered.
My hunch is this should be possible, and fairly cleanly so. But I
hesitate to exaggerate the ease of such a thing without asking first.
It should be relatively easy, esp since SolrIndexSearcher is an
IndexSearcher, and one can get an IndexReader from there. So whatever
compex stuff may have been done on the query side, it should be
relatively easy to move it to a custom request handler that opens a
socket to handle raw TCP requests.
Trickiness by custom code on the update side might be harder to port
to Solr though.
Of course, one should also evaluate the cost of migrating the clients
compared to developing a compatibility handler in Solr...
-Yonik