File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ruby and the fly likes Unable to sort by date using sunspot solr in rails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Unable to sort by date using sunspot solr in rails" Watch "Unable to sort by date using sunspot solr in rails" New topic
Author

Unable to sort by date using sunspot solr in rails

Selva Chezhian Labam
Greenhorn

Joined: Sep 08, 2010
Posts: 11
Hi All,

We are usng the search engine called "Sunspot" for Solr in ROR.

When we are searching the query, by default the Sunspot is taking the score (Relevance) and sorting. If we give the date and searching, at that time also it is taking internally the score as sorting parameters. Please help us to make the score as false while sorting by date.

Thanks,
Selva Chezhian
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to sort by date using sunspot solr in rails