I think Jack already answered this one: "You can use an update processor."
Buy his book, I am sure he has lots of examples. :-)

Or just start from: https://wiki.apache.org/solr/UpdateRequestProcessor
And review:
http://lucene.apache.org/solr/4_5_1/solr-core/org/apache/solr/update/processor/UpdateRequestProcessorFactory.html

       and specifically classes deriving from:
http://lucene.apache.org/solr/4_5_1/solr-core/org/apache/solr/update/processor/FieldMutatingUpdateProcessorFactory.html

Regards,
   Alex.

Personal website: http://www.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)


On Sun, Oct 27, 2013 at 10:30 AM, neerajp <neeraj_star2...@yahoo.com> wrote:

> I can not convert base64 encoded data to text in my application as it will
> impact my core application processing. I want this task should be done at
> Solr side. Can I use Apache Tika for this at solr side ?
> But the format I am sending to Solr is XML format with some fields are in
> plain text and some are in base64 encoded(may contain pdf, doc, text, image
> etc).
>
> If I had only text fields in XML then I would have used
> XMLUpdateRequestHandler. Since the XML fields are mixed types(US-ASCII
> characters and base64 encode data) so I am confused how to proceed.
>
> Pls. share your thoughts....
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Indexing-on-plain-text-data-and-base64-encode-data-in-a-single-HTTP-POST-request-tp4097905p4097930.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to