Problem searching field with % as value

2009-12-08 Thread kanayo
Hi, I am a newbie to lucene. I am using Standard Analyzer in my lucene project. I am indexing some fields which may contain only "%" as a field value and it indexes fine and i can view the value against the field in the index using Luke. However when i try to retrieve the same field using index

Re: Problem searching field with % as value

2009-12-08 Thread kanayo
ost a code snippet or two (index and > query)? > > Best > Erick > > On Tue, Dec 8, 2009 at 11:04 AM, kanayo wrote: > >> >> Hi, >> >> I am a newbie to lucene. I am using Standard Analyzer in my lucene >> project. >> I am indexing some

Re: Problem searching field with % as value

2009-12-10 Thread kanayo
ething easier to work > with. You could do this yourself or, I think, with MappingCharFilter. > > Personally I'd probably replace "%" with "percent" somewhere in my > code with a simple string replacement. > > > -- > Ian. > > > >