Yikes... confirmed! Something is very wrong here. -Yonik http://www.lucidimagination.com
On Thu, Jul 15, 2010 at 8:47 PM, Yonik Seeley <yo...@lucidimagination.com> wrote: > Hmmm, I'll try and duplicate. > > -Yonik > http://www.lucidimagination.com > > 2010/7/15 Koji Sekiguchi <k...@r.email.ne.jp>: >> I see different results between SortableLongField and TrieLongField >> when I try same range query. >> >> This is the test data: >> >> <add> >> <doc> >> <field name="id">ZERO</field> >> <field name="f_tl">0</field> >> <field name="f_sl">0</field> >> </doc> >> <doc> >> <field name="id">Long.MAX_VALUE-1000</field> >> <field name="f_tl">9223372036854774807</field> >> <field name="f_sl">9223372036854774807</field> >> </doc> >> <doc> >> <field name="id">Long.MAX_VALUE</field> >> <field name="f_tl">9223372036854775807</field> >> <field name="f_sl">9223372036854775807</field> >> </doc> >> </add> >> >> where f_tl is TrieLongField and f_sl is SortableLongField. >> The test data consist of 3 docs. The first doc number is 0. >> The second is "Long.MAX_VALUE minus 1,000". The third >> value is "Long.MAX_VALUE". >> >> I posted the data and queried on f_sl: >> >> q=f_sl:[9223372036854775807 TO 9223372036854775807] >> >> Solr returned the third doc and I think it was correct. >> But I did same range query on f_tl field, Solr returned 3 docs. >> >> Am I missing something? >> >> Koji >> >> -- >> http://www.rondhuit.com/en/ >> >> >