Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 874 invoked from network); 12 Aug 2008 13:12:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Aug 2008 13:12:00 -0000 Received: (qmail 36596 invoked by uid 500); 12 Aug 2008 13:11:52 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 36562 invoked by uid 500); 12 Aug 2008 13:11: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 36550 invoked by uid 99); 12 Aug 2008 13:11:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 06:11:52 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chris.lu@gmail.com designates 209.85.200.173 as permitted sender) Received: from [209.85.200.173] (HELO wf-out-1314.google.com) (209.85.200.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 13:10:55 +0000 Received: by wf-out-1314.google.com with SMTP id 28so2369827wfc.20 for ; Tue, 12 Aug 2008 06:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=WxmW5yQYJSdnqsN3x6f8kNNuJ3hU5BhS4iHytzpCMvI=; b=dIgcTgOHXhy2+mjCWj/MNr/LhhYF4lUEffyJSogyQd46iISzaQ+27AxdoOxhAjOiGM 6NHiBZGKmU7quigV0FUuzOXy+tiJ12qr1GtJtdeoSiUXz7rDLDe9SwvSgkUqHe9P3/CA kTDn/pAbyon9VAU6g7HLkVrJ4jCfjbd6xvQ/s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=CGNPRmlNM4HM/9bpEeVVLoTb+TqvwdIA0BxCLxD/rN47J0ytjOEvL00zmNQfqQ9A+K Fk7GmN3jc86Vop3dWO6XzxcEiHa7ARIQCEahe7ajMVepch/A1fwmJBe8CrGg763PkHA7 2+SWFMDNBM90m5/3sopeOebA8NbRrNLGzpldQ= Received: by 10.142.214.11 with SMTP id m11mr2015356wfg.69.1218546665185; Tue, 12 Aug 2008 06:11:05 -0700 (PDT) Received: by 10.143.1.20 with HTTP; Tue, 12 Aug 2008 06:11:05 -0700 (PDT) Message-ID: <6e3ae6310808120611h5b1371d2wd3daaf2715056af4@mail.gmail.com> Date: Tue, 12 Aug 2008 06:11:05 -0700 From: "Chris Lu" To: java-user@lucene.apache.org Subject: Re: Results by unique id's In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_110721_14448692.1218546665187" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_110721_14448692.1218546665187 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Maybe re-organize the index structure as doc1:1; "car volvo", "car toyota" doc2;2;"car mitsubishi", "car skoda" You can add the content field twice for the same company_id. --=20 Chris Lu ------------------------- Instant Scalable Full-Text Search On Any Database/Application site: http://www.dbsight.net demo: http://search.dbsight.com Lucene Database Search in 3 minutes: http://wiki.dbsight.com/index.php?title=3DCreate_Lucene_Database_Search_in_= 3_minutes DBSight customer, a shopping comparison site, (anonymous per request) got 2.6 Million Euro funding! On Tue, Aug 12, 2008 at 6:05 AM, Martin vWysiecki wrot= e: > Hello, > > thanks for help in advance. > > my example docs: > > two fileds company_id and content > > doc1;1;"car volvo" > doc2;1;"car toyota" > doc3;2;"car mitsubishi" > doc4;2;"car skoda" > > my search "car" > > Now i would like to get only doc 1 and 3 because doc2 is the same > company, same company_id, same for doc 4 > > Is this possible? > > Thank you > > > > > -- > mit freundlichen Gr=FC=DFen > > Martin von Wysiecki > software development > > aspedia GmbH > Ro=DFlauer Weg 5 > D-68309 Mannheim > Telefon +49 (0) 621 - 71600 33 > Telefax +49 (0) 621 - 71600 10 > wysiecki@aspedia.de > > Gesch=E4ftsf=FChrung: > Steffen K=FCnster, Christoph Goldschmitt > Amtsgericht Mannheim HRB 9942 > www.aspedia.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > ------=_Part_110721_14448692.1218546665187--