[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-user
Subject:    Re: SQL Distinct sintax in Lucen
From:       Daniel Naber <daniel.naber () t-online ! de>
Date:       2005-01-11 22:22:33
Message-ID: 200501112322.33374 () danielnaber ! de
[Download RAW message or body]

On Tuesday 11 January 2005 23:05, Carlos Franco Robles wrote:

> 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.

Lucene only knows documents and doesn't know what "duplicate" could mean. 
The easiest thing is to iterate over the result set and do the filtering 
yourself.

regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic