Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 72540 invoked from network); 11 Jan 2005 22:03:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Jan 2005 22:03:39 -0000 Received: (qmail 6706 invoked by uid 500); 11 Jan 2005 22:03:30 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 6635 invoked by uid 500); 11 Jan 2005 22:03:30 -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 6614 invoked by uid 99); 11 Jan 2005 22:03:29 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_90_100,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from plesk2.axarnet.com (HELO plesk1.axarnet.com) (213.200.101.2) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 14:03:29 -0800 Received: (qmail 15488 invoked from network); 11 Jan 2005 21:57:50 -0000 Received: from 118.red-217-127-201.pooles.rima-tde.net (HELO XerAcer803) (217.127.201.118) by ip.grupoibc.com with SMTP; 11 Jan 2005 21:57:50 -0000 From: "Carlos Franco Robles" To: Subject: SQL Distinct sintax in Lucen Date: Tue, 11 Jan 2005 23:05:19 +0100 Message-ID: <004101c4f829$a5cd4fa0$0b00a8c0@XerAcer803> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0042_01C4F832.0791B7A0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0042_01C4F832.0791B7A0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi all. I'm starting to use lucene and I wonder if it is possible to make a query syntax to ask for one string which can be in two different fields and filter duplicated results like with distinct in SQL syntax. Something like: distinct (+string OR OtherField:(+string)) Thanks a lot ------=_NextPart_000_0042_01C4F832.0791B7A0--