Hello!

When queries become more and more complex and you need to apply one second
query with the resultant docs from the first one, or re-sort results, or
maybe add some promotional or special docs to the response, I recommend to
develop a Web App module that implements that complex business logic and
dispatches queries from your Client App to your Solr back-end. That module,
let's call Search Engine, lets you play with all those special use cases.
If you are familiar with Java I suggest you to have a look at the
combination between SolrJ and Spring framework or Jersey.

Regards,

- Luis Cappa.
El 18/11/2012 15:15, "Indika Tantrigoda" <indik...@gmail.com> escribió:

> Hi All,
>
> I would like to get results of an query that is different from the main
> query as a new field. This query needs to be independent from any filter
> queries applied to the main query. I was trying to achieve this by
> fl=_external_query_result:query($myQuery), however that result seems to be
> governed by any filter queries applied to the main query ? Is it possible
> to have a completely separate query in the fl list and return its result
> along with the results (per results), or would I need to create a separate
> query on the client side to get the results of the independent query (based
> on the results from the first query) ?
>
> Thanks in advance,
> Indika
>

Reply via email to