lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: Sort results on a field not ordered
Date Fri, 02 May 2008 12:17:04 GMT


Erik Hatcher wrote:
> What field type is chapterTitle?   I'm betting it is an analyzed field 
> with multiple values (tokens/terms) per document.  To successfully sort, 
> you'll need to have a single value per document - using copyField can 
> help with this to have both a searchable field and a sortable version.

does this apply to facet fields as well?  I noticed that that if I set 
facet.sort="true" the results are indeed sorted by count... until the 
counts are the same, after which they are in random order (instead of 
ascii alpha).

--Geoff

Mime
View raw message