Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 43006 invoked from network); 2 Feb 2004 09:03:00 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Feb 2004 09:03:00 -0000 Received: (qmail 94932 invoked by uid 500); 2 Feb 2004 09:02:29 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 94896 invoked by uid 500); 2 Feb 2004 09:02:29 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 94829 invoked from network); 2 Feb 2004 09:02:28 -0000 Received: from unknown (HELO gustavo.imente.com) (62.97.113.150) by daedalus.apache.org with SMTP; 2 Feb 2004 09:02:28 -0000 Received: from imente.com (135.Red-80-36-51.pooles.rima-tde.net [80.36.51.135]) by gustavo.imente.com (Postfix) with ESMTP id D7ED1FB059 for ; Mon, 2 Feb 2004 10:02:38 +0100 (CET) Message-ID: <401E1249.9080906@imente.com> Date: Mon, 02 Feb 2004 10:03:05 +0100 From: Albert Vila Puig User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucene Developers List Subject: MultiOrderSearcher Implementation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, I'm looking for a MultiOrderSearcher Implementation. I'am using the IndexOrderSearcher in order to obtain the results sorted per index, but I need to search over a multiple indexes. So, I need another MultiSearcher implementation in order to deal with the sort problem. Has anyone such a feature implemented in a MultiOrderSearcher class? I did an implementation in C++ (because I'm using the CLucene core in order to search the index), but I'm having problems with the sorting. The sort is fine for all indexes, but when I retrieve the results back to the client, the hits object contains something like: 100 first hits from index 1 100 first hits from index 2 100 first hits from index 3 ... 100 second hits from index 1 ... This is due to the getMoreDocs(50); // retrieve 100 initially line from hits.cpp or hits.java. When I want something like All hits from index 1 All hits from index 2 All hits from index 3 .... Maybe I need another hits abstraction object to deal with this problem because if I want to retrieve all sorted hits from all indexes I 'll have performance problems (I 'am dealing with big indexes). Thanks in advance. -- Albert Vila Puig http://www.imente.com [iMente, El mayor agregador de titulares en espa�ol] Le invitamos a visitar nuestra nueva web y probar nuestros servicios --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org