schema.jsp is not displaying tint types corretly

2009-11-08 Thread AHMET ARSLAN
I have a field defined tint with values 100,200,300 and -100 only. When i use admin/schema.jsp i see 5 distinct values. 0 666083 100 431176 200 234907 256 33947 300 33947 First i thought that i post wrong values. I was expecting 4 distinct values. When i query

Re: schema.jsp is not displaying tint types corretly

2009-11-08 Thread Erik Hatcher
maybe you indexed some documents with value 256, but then deleted them? try optimizing to get the terms removed. Erik On Nov 8, 2009, at 6:11 AM, AHMET ARSLAN wrote: I have a field defined tint with values 100,200,300 and -100 only. When i use admin/schema.jsp i see 5 distinct

Re: schema.jsp is not displaying tint types corretly

2009-11-08 Thread AHMET ARSLAN
maybe you indexed some documents with value 256, but then deleted them?  try optimizing to get the terms removed. I am running full-import with DIH. No deletions. And domain of this type is exactly 100,200,300 and -100. I am using this SQL query to fetch that field: SELECT CASE WHEN ... THEN

Re: schema.jsp is not displaying tint types corretly

2009-11-08 Thread Chris Hostetter
: 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

Re: schema.jsp is not displaying tint types corretly

2009-11-08 Thread AHMET ARSLAN
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

Re: schema.jsp is not displaying tint types corretly

2009-11-08 Thread Chris Hostetter
: So we can say that it is normal to see weird vaules in schema.jsp for trie types. Thanks for the explanations. it's normal to see weird values in schema.jsp for all types, trie, stemmed, etc... -Hoss