RE: SQL Distinct sintax in Lucen

2005-01-11 Thread Chuck Williams
If I understand what you are trying to do, you don't have a problem. You can OR to your heart's content and Lucene will properly create the union of the results. I.e., there will be no duplicates. There is built-in support for this kind of thing. See MultiFieldQueryParser, and for better results

Re: SQL Distinct sintax in Lucen

2005-01-11 Thread Daniel Naber
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 documen