lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Pls help :-) ! calling external ws/db to fetch field instead of own index?
Date Tue, 11 Oct 2011 20:14:08 GMT
Hi,

No, Solr out of the box cannot call external services - it searches its own index and returns
documents indexed/stored there that match a query.
You may be able to write a custom SearchComponent that also pulls in data from external data
sources and incorporate those in the results, essentially doing federated search.

See http://search-lucene.com/?q=federated+search&fc_project=Solr

Otis
----

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/


----- Original Message -----
> From: Ikhsvaku S <ikhsvaku@gmail.com>
> To: solr-user@lucene.apache.org
> Cc: 
> Sent: Tuesday, October 11, 2011 3:47 PM
> Subject: Pls help :-) ! calling external ws/db to fetch field instead of own index?
> 
> Help pls sirs :)
> 
> On Tue, Oct 11, 2011 at 1:29 PM, Ikhsvaku S <ikhsvaku@gmail.com> wrote:
> 
>>  Hi,
>> 
>>  We were recently investigating use of Solr for querying & indexing our 
> bug
>>  database. We are very happy and most of the fields could be indexed
>>  straightforward. But there are some of the fields that cant be indexed as
>>  they are changed all the time and we want to incorporate that too in solr
>>  query. Even if solr doesnt index that external field it instead accepts the
>>  query and calls the external script/db/webservice to get value of the field
>>  and proceed with rest...
>> 
>>  Like it can allow queries with these external fields but instead of
>>  checking it in its own indexes - queries external database/web-service and
>>  then return results...?
>> 
>>  Eg. userid_s:a* AND my_external_field:a* AND title_s:a*
>> 
>> 
>>  Here my_external_field is fetched from webservice/rdbms calls and returns
>>  the set of unique doc ids
>> 
>> 
>>  Thanks
>> 
>

Mime
View raw message