: I have a field defined tint with values 100,200,300 and -100 only. i assume you mean that tint is a solr.TrieIntField, probably with precisionStep="8" ?
: When i use admin/schema.jsp i see 5 distinct values. ... : First i thought that i post wrong values. I was expecting 4 distinct values. I'm not an expert on Trie fields, but you need to remember that schema.jsp shows you the *indexed* values, and the whole point of TrieFields is to create multiple indexed values at various levels of precision so that range queries can be much faster. : When i query flag_value:256 i get 0 docs. Same as with flag_value:0. ...which is to be expected since you didn't index any docs with those exact values. If you facet on that field, you should see the 4 values you expect (and no others) because the faceting code for TreiFields knows about the special values, but schema.jsp just tells you exactly what's in the index. -Hoss