lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark <mark.holla...@justmags.com>
Subject Result order when no sort defined
Date Fri, 15 Apr 2011 07:03:29 GMT
Hi,

I'm doing a query where it pulls back a collection of results based upon a
list of id values.  eg:

+(id:deb9d38d-58cb-4ef4-bb30-8deba344f7a5 OR
id:bf643b9b-7f1e-4a57-8218-1998d2ce2e0c OR
id:4a697a1e-f133-4e81-aacd-a0b73aa3b67f OR
id:f522b46c-f039-4bd6-806b-0e33f5142f3b OR
id:5a557987-9834-4cb9-8704-bb963c06d1ce OR
id:95b0f383-1f19-4641-8551-4dfd965b4e9b OR
id:28eacd12-1705-4a0e-a512-eccf692e3adb OR
id:be6f7b7f-26c2-45f4-8003-22cfb351ddfd)

This query returns the results in a consistent order, but I can't discern
how it works out that order.

About half of the results all come back with a score of 0.5912891 and then
some others have a lower 0.55549824 and the last one has 0.53078187.

id is a string field and each of these should be an exact match.

I don't really understand why they've got differing score values.

I'm trying to get them returned in the order that the ids are defined in the
query.  eg.  +(id:a or id:b or id:c) returns a list of [a,b,c]



--
View this message in context: http://lucene.472066.n3.nabble.com/Result-order-when-no-sort-defined-tp2823608p2823608.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message