> 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 300 WHEN ... THEN 200 WHEN ... THEN 100 ELSE -100 END AS flag_value FROM ... I just optimized just to make sure. The same: Distinct: 7 0 987692 100 751304 200 236388 256 33830 300 33830 Interestingly it says there is 7 distinct values. When i try to see top 7 terms it always shows top 5. Also changes the value of top terms textbox to 5 again.