Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 26968 invoked from network); 21 Jun 2004 01:42:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Jun 2004 01:42:59 -0000 Received: (qmail 41471 invoked by uid 500); 21 Jun 2004 01:42:30 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 41097 invoked by uid 500); 21 Jun 2004 01:42:21 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 40148 invoked by uid 99); 21 Jun 2004 01:42:04 -0000 Received: from [65.24.5.135] (HELO ms-smtp-01-eri0.ohiordc.rr.com) (65.24.5.135) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 20 Jun 2004 18:42:04 -0700 Received: from [192.168.1.2] (dhcp16464040.woh.rr.com [24.164.64.40]) by ms-smtp-01-eri0.ohiordc.rr.com (8.12.10/8.12.7) with ESMTP id i5L1foJW026549 for ; Sun, 20 Jun 2004 21:41:50 -0400 (EDT) Message-ID: <40D55D02.8040702@woh.rr.com> Date: Sun, 20 Jun 2004 09:46:42 +0000 From: Dmitrii PapaGeorgio User-Agent: Mozilla Thunderbird 0.7 (X11/20040615) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucene Users List Subject: index and search question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Let's say I index documents using this Document doc = new Document(); doc.add(Field.Text("file1", (Reader) new InputStreamReader(is))); doc.add(Field.Text("file2", (Reader) new InputStreamReader(is2))); And want to do a search like this file1:Word file2:Word2 Basically doing a search using mutiple segments, file1 and file2 in the same query, how would this be possible? --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org