Re: SynonymFilter and inch/foot symbols

2008-09-21 Thread Chris Hostetter
: How would I handle a search for 21" or 3'. The " and ' symbols appear to : get stripped away by Lucene before passing the query off to the : analyzers. ... : We are also using the DisjunctionMaxQueryParser to build the actual : query from the front end. Nothing should be striping apo

Re: SynonymFilter and inch/foot symbols

2008-09-20 Thread Otis Gospodnetic
Hi Kevin, Find the component that's stripping your " and ' characters (WordDelimiterFF?) and make sure those characters are indexed first. Then make sure the query-time analyzer keeps those tokens, too. Finally, escape special characters (e.g. " in your example) in the query before passing i