You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Lance Norskog <go...@gmail.com> on 2010/01/03 01:10:25 UTC

Re: Build index by consuming web service

If the web API is just plain REST-style, the URLDataSource can use it.

http://wiki.apache.org/solr/DataImportHandler#Usage_with_XML.2BAC8-HTTP_Datasource

If it has a more complex interface like SOAP, you may have to create
your own SOAP client DataSource. Or, you can use Javascript in the DIH
and use one of the javascript SOAP client libraries.

On Wed, Dec 30, 2009 at 10:26 AM, javaxmlsoapdev <vi...@yahoo.com> wrote:
>
> I am in a need of a handler which consumes web serivce and builds index from
> return results of the service. Until now I was building index by reading
> data directly from database query using DataImportHandler.
>
> There are new functional requirements to index calculated fields in the
> index and allow search on them. I have exposed an application API as a web
> service, which returns all attributes for indexing. How can ask Solr to
> consume this service and index attributes returned by the service?
>
> Any pointers would be appreciated.
>
> Thanks,
>
>
> --
> View this message in context: http://old.nabble.com/Build-index-by-consuming-web-service-tp26970642p26970642.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
Lance Norskog
goksron@gmail.com