On Aug 11, 2008, at 10:11 AM, Vicky_Dev wrote:
Hi
I am beginner in Solr.
Question: We have two types of search in site.
a) First one is : Site search . Since all data is within database (our
control environment, this type of search can be implemented using Solr
(based on Lucene index)
b) Second one is: External application / Third party search--Jive
search
(Community search)
For second type of search web services are exposed. We can pass
search query
to external application and retrieve results from third party.
Now results from both searches needs to be combined and shown to user
For e.g. If search query contains "Canon" then site search will give
site
results (suppose 90 search results) and Jive search gives 30 items
Now on screen we have to shown combined results. Results should be
sorted by
relevance . Search results shown on screen can contain --first
result record
from site search , second result record from jive
Third from Jive and next one from site search . It entirely depend on
relevance to search query strin
Is it possible to dynamically add third party results to search
results and
call function to rearrange search results ?
Is it possible, yes, you can just add in a SearchComponent that adds/
sorts the results from Jive into the Solr results. Is it meaningful,
doubtful. What does a relevance score in Jive mean in relation to a
relevance score for site search? I would guess nothing.
-Grant