How to perform a double query in one

2008-01-02 Thread Rishabh Joshi
Hi, Is there a way to perform 2 search queries in one search request, and then return their combined results? Currently I am performing the following: I have a document which consists of id field which is the unique identifier, the info field, and an xid field which contains the ids of other

Re: How to perform a double query in one

2008-01-02 Thread Otis Gospodnetic
Custom request handler approach seems the most straight forward and the only one I can think of quickly. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Rishabh Joshi [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Wednesday, January

Re: How to perform a double query in one

2008-01-02 Thread Ryan McKinley
If I understand the question... you essentially want a JOIN function. Find the set of docs linked to by an initial query. Right now, you either need to do two queries (in the client or custom RequestHandler) OR, if possible, flatten the data into each doc. For your specific example, can you