Hello,
I have to perform range queries agains a date field. It is a TrieDateField, and 
I'm already using it for sorting. Hence, there will be already en entry in the 
FieldCache for it.
According to:

http://www.lucidimagination.com/blog/2009/07/06/ranges-over-functions-in-solr-14/

frange queries are typically faster than normal range queries when there are 
many terms between the endpoints (though it could be slower, if there's less 
than a 5% of terms between the endpoints). The cost of this speedup is the 
memory associated with a FieldCache entry for the field. In my case, there's no 
additional memory overhead, as there's already such entry.
It also states that TrieRange queries have the best space/speed tradeoff.
Now my doubt is: if I have no memory overhead, then I only care about relative 
speed between frange and trie. The good speed/space tradeoff of trie is not the 
measure I need in this case, but just a comparison at pure speed level.
Does anybody know if there's data about this? Any clue on whether to choose 
frange or trie in this case?

Thanks,

Juan

Reply via email to