Re: Sorting algorithm

2011-06-03 Thread Richard Hodsdon
Hi Tomás Thanks, that makes a lot of sense, and your math is sound. It is working well. An if() function would be great, and it seems its coming soon. Richard -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-algorithm-tp3014549p3019077.html Sent from the Solr - User

Re: Sorting algorithm

2011-06-02 Thread Richard Hodsdon
Thanks for the response, You are correct, but my pseudo code was not. this line var t = (CreationDate - 1131428803) / 1000; should be var t = (CreationDate - now()) / 1000; This will cause the items ranking to depreciate over time. Richard -- View this message in context: http://lucene.472

Sorting algorithm

2011-06-02 Thread Richard Hodsdon
Hi, I want to do a similar sorting function query to the way reddit handles its ranking. I have the date stored in a I also have the number of twitter, facebook and reads from our site stored. below is the pseudo code that I want to work out. var t = (CreationDate - 1131428803) / 1000; var x =

RE: spellcheck.collate returning all results

2011-05-24 Thread Richard Hodsdon
Hi, Thanks this did the trick. I am using SOLR 3.1, so I did not need to apply the first patch. Richard -- View this message in context: http://lucene.472066.n3.nabble.com/spellcheck-collate-returning-all-results-tp2975621p2979560.html Sent from the Solr - User mailing list archive at Nabble.co

spellcheck.collate returning all results

2011-05-23 Thread Richard Hodsdon
Hi, I have been trying to set up spellchecking on our system using the SpellCheckComponent. According to the wiki by using spellcheck.collate any fq parameters that are passed through to the original query while doing spellcheck will return results if the collation is re-run. So far this has not