There's nothing to sort in the results of a facet.query.... all you get back is 
a single count of docs that match that query (within the q/fq constraints).

        Erik

On Jan 3, 2011, at 07:46 , Em wrote:

> 
> Hi,
> 
> thanks for your reply, but this seems not to work on my facetQuery.
> 
> I mean this param: facet.query=this:that*
> And I want to sort the results of that query.
> 
> Or should I better use the facet.prefix-feature?
> 
> Thank you!
> 
> 
> Grijesh.singh wrote:
>> 
>> Use parameter as Per Field Basis as
>> 
>> f.<your field name>.facet.sort=index
>> 
>> Solr1.4 -- the true/false values have been deprecated starting with Solr
>> 1.4, instead use count for sorting by count, and index for sorting by
>> index order.
>> 
>> The default is true/count if facet.limit is greater than 0, false/index
>> otherwise.
>> 
>> This parameter can be specified on a per field basis.
>> 
> 
> -- 
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Sort-Facet-Query-tp2167635p2184506.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to