This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Unable to sort by date using sunspot solr in rails
 
Similar Threads
Passed SCJP2 w/ 75%
Searching The United States Code with Solr/Lucene
Hibernate Search In Action Apache Lucene & SOLR
Hadoop in enterprise
How to implement Faceted search with Solr in rails