lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: AND / OR mutiple term queris
Date Fri, 16 May 2003 14:51:06 GMT
The better the match, the closer the result to the beginning of the
Hits, so the document that has all the terms should be listed before
those documents that are matched only partially.

Note that you do not need to use both AND and + in your query string.

Otis

--- Xavier Guardiola <xguardiola@stq.urv.es> wrote:
> Hi all,
> I've got a question regarding how Lucene priorizes complex --like
> "yoggy
> drop the honey pot"-- query results.
> I wanted lucene to show first those results having ALL terms. By
> default
> lucene doesn't do this, so I transform all user queries to + AND
> ("+yoggy
> AND +drop AND +the AND +honey AND +pot"). It works nicely. However
> now I
> face the need to show AFTER the ALL-terms-results those results where
> SOME
> of the terms do appear. Is there a way of doing that easily?
> Thanks!
> 
> 
> --    Today's fortune:
> I never cheated an honest man, only rascals.  They wanted something
> for
> nothing.  I gave them nothing for something.
>                 -- Joseph "Yellow Kid" Weil
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

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


Mime
View raw message