Re: TrieIntField for "short" values

2011-05-15 Thread Erick Erickson
Nope, I'm afraid I can't. Because I don't really understand it in detail, the wizard from Germany (Uwe) put it in place But here's a great place to start if you want to dive deep: https://hudson.apache.org/hudson/job/Lucene-trunk/javadoc/all/org/apache/lucene/search/NumericRangeQuery.html?is-e

Re: TrieIntField for "short" values

2011-05-15 Thread Juan Antonio Farré Basurte
Hi, Thanks for your answer. I am doing range queries on this field, yes, that's why I cared about how all this trie thing works :) If I use precisionStep=0 would it be equivalent to use, say, a SortableIntField? Would it be possible that you explained, for example, the difference in how it woul

Re: TrieIntField for "short" values

2011-05-15 Thread Erick Erickson
Are you doing range queries on this field? Range queries are where Trie shines, so worrying about precision step if you're NOT intending to do range queries is a waste, just use precisionstep=0. In fact, with only 1,000 values, I'd just go with PrecisionStep=0 (which is the int field) Best Erick

TrieIntField for "short" values

2011-05-12 Thread Juan Antonio Farré Basurte
Hello, I'm quite a beginner in solr and have many doubts while trying to learn how everything works. I have only a slight idea on how TrieFields work. The thing is I have an integer value that will always be in the range 0-1000. A short field would be enough for this, but there is no such TrieSho