Re: Indexing on plain text data and base64 encode data in a single HTTP POST request

2013-12-05 Thread neerajp
Thank you all for responding to me. Due to some other activity, I was moved out of it and now I am on it. I tried to use ExtractingUpdateProcessorFactory but it seems to me that its support is not in Solr 4.5(which I am using) even not in any of the Solr version available in market. Pls. find the

Re: Indexing on plain text data and base64 encode data in a single HTTP POST request

2013-10-26 Thread Alexandre Rafalovitch
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/UpdateR

Re: Indexing on plain text data and base64 encode data in a single HTTP POST request

2013-10-26 Thread neerajp
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

Re: Indexing on plain text data and base64 encode data in a single HTTP POST request

2013-10-26 Thread Jack Krupansky
You can use an update processor. Maybe write a JavaScript script for the stateless script update processor that takes a list of field names and then converts the base 64 encoding to normal text for those specified fields. Or, convert base 64 to text before you send the field values to Solr. --