When you say "using Luke", you're also using a particular analyzer. I forget which one Luke defaults to, but it may well be stripping out your special characters.
It's all about your analyzer, and I'm 90% certain you're using one that strips out these characters when *querying*. You can make Luke use different analyzers, there's a drop-down that lets you select... HTH Erick On Wed, Jul 29, 2009 at 5:56 AM, cbowditch <bowditch_ch...@hotmail.com>wrote: > > Hi All, > > I am using Lucene 2.2.0 and have created an Index with some text including > values in $, £ and euros too! But I can't search for text that includes $, > £ > or euro. I checked the index with Luke and can see the $ and £ symbols in > the index. When I ask Luke to explain the structure of the Query it always > excludes the $ and £ symbols from the query. I read the help on special > symbols and it said / could be used to escape the characters. Although I > didn't see $ or £ listed as a special operator and when I tried escaping > them it made no difference. Can anyone tell me how I can search my index > for > $ or £. > > Thanks, > > Chris > -- > View this message in context: > http://www.nabble.com/%24-or-%C2%A3-symbols-are-excluded-from-Search-Query-tp24716042p24716042.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >