lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hacklisp <qingwuk...@gmail.com>
Subject About sort questions
Date Thu, 21 May 2009 04:33:52 GMT

I search 'lisp' with lucene application  using the  following query string:
uid:5^3 OR uid:10^2 OR lang:lisp
I hope  result as following:

first:5               (which id is 5)
second:10          (which id is 10)
others:other results sort according to relevance.

 it is always ok, but sometimes not, the second will display before the
first.
for example:
uid:90^3 OR uid:25^2 OR lang:java
first:25               (which id is 5)
second:90          (which id is 10)
others:other results sort according to relevance.
 
I hope search to  return results strictly according to my input order.
Anyone can understand me? thanks in advance.
Any point will be appreciate.
-- 
View this message in context: http://www.nabble.com/About-sort-questions-tp23647738p23647738.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


Mime
View raw message