lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: Paging and sorting in Solr
Date Thu, 18 Apr 2013 16:01:04 GMT
Maybe you have your name field as "text" rather than "string". Don't try 
sorting "text" fields - make a copy (copyField) to a string field and sort 
the string field. So, for example, have "name" as "text" for keyword search, 
and "name_s" as "string" for sorting (and faceting.)

-- Jack Krupansky

-----Original Message----- 
From: hassancrowdc
Sent: Thursday, April 18, 2013 11:35 AM
To: solr-user@lucene.apache.org
Subject: Re: Paging and sorting in Solr

Hi,

I double checked. It is the field. if i sort through manufacturer field it
sorts but if i sort through name it does not sort. both the field has
everything same. Is there any difference in sorting alphabetically or size
of the word?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Paging-and-sorting-in-Solr-tp4057000p4057013.html
Sent from the Solr - User mailing list archive at Nabble.com. 


Mime
View raw message