Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 44620 invoked from network); 13 Jun 2006 23:53:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jun 2006 23:53:59 -0000 Received: (qmail 86372 invoked by uid 500); 13 Jun 2006 23:53:54 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 85824 invoked by uid 500); 13 Jun 2006 23:53:52 -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 85808 invoked by uid 99); 13 Jun 2006 23:53:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 16:53:52 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of askxuefeng@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 16:53:51 -0700 Received: by py-out-1112.google.com with SMTP id i75so2076048pye for ; Tue, 13 Jun 2006 16:53:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:thread-index:in-reply-to:x-mimeole; b=K0knQhN4eYSDLXihYyFSgTMFO6JVUnlFfA2nvXcRaL+uG4ZwFaY2H/NOFKBDK770nQd9aP4E7AwUofADOpzALXlksEU0WhfWPuoGtIAsN4onryOQSlJmx/gRARPV6IYtoqaMLhPnsnuZv8iWS7PH4BLMMWrkOUuJG/f9C9Xi6FU= Received: by 10.35.45.14 with SMTP id x14mr7728pyj; Tue, 13 Jun 2006 16:53:29 -0700 (PDT) Received: from lymobile ( [222.35.80.112]) by mx.gmail.com with ESMTP id w54sm35664pye.2006.06.13.16.53.13; Tue, 13 Jun 2006 16:53:18 -0700 (PDT) From: "Liao Xuefeng" To: Subject: Use one or more indexes? Date: Wed, 14 Jun 2006 07:52:57 +0800 Message-ID: <000001c68f44$843a9e20$6500a8c0@lymobile> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcaO1K3+qsp6VI0wQbu9gXhNjGUq+wAboLwg In-Reply-To: <6e3ae6310606121753t572f5623rd104671cfeabc05b@mail.gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hi, I'm new to lucene. Now I want to add full-text search for my website to search articles, images and bbs topics. I'm not sure to use only one index to search all types of these, or create 3 indexes for each of type. If I use only one index, do I have to add a 'type' field to identify document type? and how to filter the specified type? If I use 3 indexes, is there more memory & cpu time cost? Thanks in advance, for any help & suggestions. Best regards, Xuefeng Email: askxuefeng@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org