Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F675D91B for ; Fri, 20 Jul 2012 16:16:41 +0000 (UTC) Received: (qmail 48626 invoked by uid 500); 20 Jul 2012 16:16:39 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 48561 invoked by uid 500); 20 Jul 2012 16:16:38 -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 48551 invoked by uid 99); 20 Jul 2012 16:16:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2012 16:16:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.82.176] (HELO mail-we0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2012 16:16:34 +0000 Received: by weyu3 with SMTP id u3so3200113wey.35 for ; Fri, 20 Jul 2012 09:16:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=gYpt/AVErKFbknJuSOGiOlrN/72PVL8OwZD+oGZIs/Y=; b=DMq5uiM0ZLwc4ZPd6psCn9ocYYaBAW/zjb1tmN4s9cr2h5R8yUbWlM/sqOvs8jThq2 c0ucyoO0ZtYyZwqeDiuwbkjMRnFfMXbg1a88A13/zhVVoH+yRTUbo0Wjs7yym4uPhMq/ fxx7bPlFnMvIPry0K+LaimZ5S3/hJUQC+fB6MjIvbXcVgoQZkdUvrQdHj2k7tdfyzxr3 K2XzoXj6IFOnDOI1a8XmoR9ELUTp3RYS6vqCLFREwkykRzlph4g7rEdIZiA7iv12BSib mkDlpctEVANUNyvTLVEsjfh/ZbGSmyyZFWitR8wKMvN/PGy1//fiKGIIYn3hmvx2M39L Qmqg== Received: by 10.180.90.207 with SMTP id by15mr27346678wib.22.1342800972479; Fri, 20 Jul 2012 09:16:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.221.93 with HTTP; Fri, 20 Jul 2012 09:15:52 -0700 (PDT) In-Reply-To: <69a3c7fe.198c9.138a3d3520b.Coremail.qibaoyuan@126.com> References: <69a3c7fe.198c9.138a3d3520b.Coremail.qibaoyuan@126.com> From: Michael McCandless Date: Fri, 20 Jul 2012 12:15:52 -0400 Message-ID: Subject: Re: how does lucene deal with intersection? To: java-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnr3tcumJaoBSHDwIVl87mA1vbNYNmlE0B9GM8x5tdVBlOrIFEkRkhxfLqfNUSqzsFEPhmk X-Virus-Checked: Checked by ClamAV on apache.org Maybe query time join? See http://www.searchworkings.org/blog/-/blogs/query-time-joining-in-lucene Mike McCandless http://blog.mikemccandless.com On Fri, Jul 20, 2012 at 5:58 AM, =E9=BD=90=E4=BF=9D=E5=85=83 wrote: > hi, > I have two collections:the first collection has documents like 'do= cID,content', and the other collection has documents like 'docID,ratings'.I= s there any fast algorithm to get the intersection between these two collec= tions after search? I canot merge the fields together for particular reason= s. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org