Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 25976 invoked from network); 30 Jun 2005 11:41:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jun 2005 11:41:44 -0000 Received: (qmail 66589 invoked by uid 500); 30 Jun 2005 11:41:35 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 66547 invoked by uid 500); 30 Jun 2005 11:41:34 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 66534 invoked by uid 500); 30 Jun 2005 11:41:34 -0000 Delivered-To: apmail-jakarta-lucene-user@jakarta.apache.org Received: (qmail 66531 invoked by uid 99); 30 Jun 2005 11:41:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2005 04:41:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [147.83.41.105] (HELO mail.fib.upc.es) (147.83.41.105) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2005 04:41:37 -0700 Received: from [147.83.58.160] (tarragona.fib.upc.es [147.83.58.160]) by mail.fib.upc.es (Postfix) with ESMTP id B97B2C9AC9 for ; Thu, 30 Jun 2005 13:41:25 +0200 (CEST) Message-ID: <42C3DA63.4020500@fib.upc.edu> Date: Thu, 30 Jun 2005 13:41:23 +0200 From: Daniel Cortes Organization: FIB User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucene Users List Subject: A query in multipleFields Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scaned-FIB: AntiVirus/AntiSpam en fib.upc.es X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have 2 indexs and the structure of the elements in this index are equals what in one index I have a field.Keyword "type" with value "forum" and the other index with a value "blog". How have I do to search in two indexs at same time? How can I restrict the results with only "forum" or "blog" type? For exeample: * I want search dog blue in forums and blogs * I want search dog blue only in forums Thks and excuse me if this question is solved yet. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org