Re: search for percent char with lucene

2009-07-04 Thread shbn
HI, i used the StandartAnalyzer. i changed to WhitespaceAnalyzer so now i got results when i search for '1%' for exemple, but if i type only the '%' i still got results. /*** doc = new Document(); nameField = new Field("name",strN,Field.Store.YES,Field.Index.TOKENIZED,Field.TermVector.WITH_POSITI

Re: search for percent char with lucene

2009-07-03 Thread Erick Erickson
You have to tell us what analyzers you are using. Many analyzers will throw out non alpha-num characters. Even better, a small, self-contained test case illustrating your problem would help us help you. Best Erick On Fri, Jul 3, 2009 at 5:11 PM, shbn wrote: > > Hi, > I am trying to find result