Re: TrieField and FieldCache confusion

2013-08-01 Thread Paul Masurel
Thank you very much for your very fast answer and all the pointers. That's what I thought, but then I got confused by the last note http://wiki.apache.org/solr/StatsComponent "TrieFields has to use a precisionStep of -1 to avoid using UnInvertedField

Re: TrieField and FieldCache confusion

2013-07-31 Thread Chris Hostetter
: Can I expect the FieldCache of Lucene to return the correct values when : working : with TrieField with the precisionStep higher than 0. If not, what did I get : wrong? Yes -- the code for building FieldCaches from Trie fields is smart enough to ensure that only the "real" original values are

TrieField and FieldCache confusion

2013-07-31 Thread Paul Masurel
Hello everyone, I have a question about Solr TrieField and Lucene FieldCache. >From my understanding, Solr added the implementation of TrieField to perform faster range queries. For each value it will index multiple terms. The n-th term being a masked version of our value, showing only it first (