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 halil <ha...@gmail.com> on 2012/04/17 11:52:30 UTC

making query in query result

Hi List,

I want to make query in a query result whish is done previously. I googled
the net but couldnot find anything. How can I do that? I need a starting
point.


thanks in advance,


-halil agin.

Re: making query in query result

Posted by Jeevanandam <je...@myjeeva.com>.
Halil -

I'm describing scenario with sample query below:

query 1: (cat:"electronics") - lets say it returns 25 docs in search 
result
query 2: (features:"power") - will be applied on above result i.e. 
'query 1'(25 docs)

so final result refined to 16 docs in search result.


If above scenario matches your need, please try like this:

q=(cat%3A"electronics")
     &fq=(features:"power")

"fq" means Filter Query


-Jeevanandam


On 17-04-2012 4:22 pm, halil wrote:
> Hi List,
>
> I want to make query in a query result whish is done previously. I 
> googled
> the net but couldnot find anything. How can I do that? I need a 
> starting
> point.
>
>
> thanks in advance,
>
>
> -halil agin.

Re: making query in query result

Posted by halil <ha...@gmail.com>.
I think the answer is the "nested query". thanks...

On Tue, Apr 17, 2012 at 12:52 PM, halil <ha...@gmail.com> wrote:

> Hi List,
>
> I want to make query in a query result whish is done previously. I googled
> the net but couldnot find anything. How can I do that? I need a starting
> point.
>
>
> thanks in advance,
>
>
> -halil agin.
>