for contentstreamdatasource to work you must post the stream in the request

On Thu, Nov 4, 2010 at 8:13 AM, Theodor Tolstoy
<theodor.tols...@sub.su.se>wrote:

> Hi!
> I am trying to get the ContentStreamDataSource to work properly , but there
> are not many examples out there.
>
> What I have done is that  I have made a copy of my HttpDataSource config
> and replaced the <dataSource type="HttpDataSource"  with <dataSource type="
> ContentStreamDataSource "
>
> If understand everything correctly I should be able to use the same URL
> syntax as with HttpDataSource and supply the XML file as  post data.
>
> I have tried to post data - both as binary, file and string to the URL, but
> nothing happens.
>
>
> This is the log file:
> 2010-nov-04 12:32:17 org.apache.solr.handler.dataimport.DataImporter
> doFullImport
> INFO: Starting Full Import
> 2010-nov-04 12:32:17 org.apache.solr.handler.dataimport.SolrWriter
> readIndexerProperties
> VARNING: Unable to read: datapush.properties
> 2010-nov-04 12:32:17 org.apache.solr.handler.dataimport.DocBuilder execute
> INFO: Time taken = 0:0:0.0
> 2010-nov-04 12:32:17 org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/datapush
> params={clean=false&entity=suLIBRIS&command=full-import} status=0 QTime=0
>
>
> What am I doing wrong?
>
> Regards
> Theodor Tolstoy
> Developer Stockholm university library
>
>


-- 
-----------------------------------------------------
Noble Paul | Systems Architect| AOL | http://aol.com

Reply via email to