Hi I have a numeric field (say "weight") and I d'like to be able to get results sorted. q=kind:animal weight:50 pf=kind^2 weight^3
would return: name=dog, kind=animal, weight=51 name=tiger, kind=animal,weight=150 name=elephant, kind=animal,weight=2000 In other terms how to deal with numeric fields ? My first idea is to encode numeric into letters (one x per value) dog xxxxxxxxxxxxxxxxxxxxxxxxx tiger xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx elephant xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx and the query would be kind:animal, weight:xxxxxxxxxxxxxxxxxxxxxxx How to deal with numeric fields ? Thanks -- nicolas