Hi,

Wouldn't this work for you:

q=1234 +product_id:X +product_id:Y

Otis
--
Search Analytics - http://sematext.com/search-analytics/index.html
Performance Monitoring - http://sematext.com/spm/index.html


On Tue, Oct 30, 2012 at 9:23 AM, Gustav <xbihy...@sharklasers.com> wrote:
> Hello everyone,
>
> i would like to know if it is possible to make a SUBQUERY inside my query
> considering a field's current result of the main query in this subquery,
> Let me try to give a better explaination
>
> I Have a simple query, something like this: /?q="1234"&qf=product_id, this
> returns to me several fields, including:
>
> <str name="related_products">14114</str> (this is the id of the related
> product)
> <str name="related_products">14115</str>
>
> I want to know if, in this same query, is possible to return the products
> wich id are 14114 and 14115, instead of the normal results...
>
> Thanks in advance,
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Subqueries-using-results-from-the-main-query-tp4017000.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to