Mike Klaas wrote:

You could do it in Solr.  The difficulty is that arbitrary binary data
is not easily transferred via xml.  So you must specify that the input
is in base64 or some other encoding.  Then you could decode it on the
fly using a custom Analyzer before passing it along.

Why won't cdata work?

It might be easier to do this outside of solr, but still in a
centralized manner.  Write another webapp which accepts files.   It
will decode them appropriately and pass them along to the solr
instance in the same container.  Then your client don't even need to
know how to talk to solr.

In that case there's little point in using Solr at all - the main benefit it gives me is that I don't have to write all the HTTP protocol bits. If I have to do that myself I might as well use raw Luceme - and in fact that's how the existing system works.

--
Alan Burlison
--

Reply via email to