> my goal is/was storing the value into > the field, and i get i have to create > my Update handler. > > i was trying to use query with salary_min:[100 TO 200] and > it's actually > working... since i just need it to search, i'll stay with > this solution > > is the [100 TO 200] a performance killer? i remember > reading something > around, but cannot find it again...
Please be aware that range query is working on strings. It will return unwanted results. String sorting and integer sorting is different. If you are after range queries you need to defied price_min and price_max fields as trie-based types. tint, tdouble etc. And populate them with the update processor or at client side.