Solr How to sorting suggestions by sales

2014-04-19 Thread Xelion
Hi guys , we are trying to use solr on our website as a search engine , but we have a problem , we can not sort the suggestions by the number of sales. Schema.xml: SolrConfig.xml : Hi guys, stiamo cercando di usare solr

Re: When not to use NRTCachingDirectory and what to use instead.

2014-04-19 Thread Ken Krugler
On Jul 10, 2013, at 9:16am, Shawn Heisey wrote: > On 7/10/2013 9:59 AM, Tom Burton-West wrote: >> The Javadoc for NRTCachingDirectoy ( >> http://lucene.apache.org/core/4_3_1/core/org/apache/lucene/store/NRTCachingDirectory.html?is-external=true) >> says: >> >> "This class is likely only usefu

Re: Suggestion that preserve original phrase case

2014-04-19 Thread coolbung
Selvam, Do you mind posting teh relevant sections of your schema and config files ? -- View this message in context: http://lucene.472066.n3.nabble.com/Suggestion-that-preserve-original-phrase-case-tp4032454p4132122.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr How to sorting suggestions by sales

2014-04-19 Thread Ahmet Arslan
I prefer to use EdgeNGram Approach. With this you can influence sort order with (e)dismay's full power. http://searchhub.org/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ See more about suggest / autocomplete  at  http://blog.trifork.com/2012/02/15/different-ways-to-make-auto-s

Re: Solr How to sorting suggestions by sales

2014-04-19 Thread Michael Sokolov
The ordering at the lowest level in Lucene is controlled based on an arbitrary weighting factor: I believe the only option you have at the Solr level is to order by term value (eg alphabetically), or by term frequency. You could do this by creating a field with all of your "sales" - if you cre