Thanks. I will take a look at the TokenFilter.
On Wed, Dec 9, 2009 at 11:44 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Wed, Dec 9, 2009 at 11:43 PM, P Franks <pfranks...@gmail.com> wrote: > > > All, > > > > Can one use the copyField option and copy a TextField field into a > > longField field? I have some data that i want to extract (filter) out > all > > but the long and/or integer values. > > > > > No, that won't work. It'd be best to use a TokenFilter which remove > characters and just keeps the integer/long values. But you still won't be > able to use the LongField because that is not analyzed (so your token > filters will not be applied). > > -- > Regards, > Shalin Shekhar Mangar. >