lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Earle <erikea...@yahoo.com>
Subject Solr Query help - sorting
Date Mon, 24 Aug 2009 23:57:28 GMT
Suppose I have a database of rectangle attributes that I have indexed in Solr and I want to
get the top 10 widest or longest rectangles from one query.


name  |  width  |  length
A     |  100    |  10
B     |  10     |  90
C     |  80     |  10
...


My indexed fields are:  name, width, length

Is there a way to query so that my data returns the order:  A, B, C


      

Mime
View raw message