Grails

Searchable plugin – Lucene search on numeric values

While using searchable plugin for the first time, I wasn't aware that lucene implements only lexicographic comparisons for searching on indexed values (even on numeric fields). Before I learned this, I kept on wondering why a Person of age 6 always appeared in search results when I look for People more than 20 years of age. The solution...

by Aman Aggarwal
Tag: numbertools
14-Jul-2010