Weird idea, how about transforming your long into a Date and using a DateFilter to use a ranged query?
sv On Fri, 5 Mar 2004, Erik Hatcher wrote: > Terms in Lucene are text. If you want to deal with number ranges, you > need to pad them. > > "000000000001" for example. Be sure all numbers have the same width > and zero padded. > > Lucene use lexicographical ordering, so you must be sure things collate > in this way. > > Erik > > On Mar 5, 2004, at 11:46 AM, [EMAIL PROTECTED] wrote: > > > On Friday 05 March 2004 15:42, Otis Gospodnetic wrote: > >> Try with Field.Keyword. > > > > Ok, works. > > > > Another problem: Range searches don't work. > > > > "id:(1 TO 1069421083284)" > > > > does return only 1 hit - 1069421083284. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
