On Thu, Sep 25, 2008 at 6:13 PM, con <[EMAIL PROTECTED]> wrote:

>
> Hi
> I have got two entities in my data-config.xml file, entity1 and entity2.
> For condition-A I need to execute only entity1 and for condition-B only the
> entity2 needs to get executed.
> How can I mention it while accessing the search index in the REST way.
> Is there any option that i can give along with this query:
>
> http://localhost:8983/solr/select/?q=physics&version=2.2&start=0&rows=10&indent=on&wt=json
>

I suppose that you are using multiple root entities and the solr document
contains some field which tells us the entity it came from.

If yes, you can use filter queries (fq parameter) to filter on those fields.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to