Re: MultiFieldQueryParser Search On C++ problem

2006-06-16 Thread Chris Lamprecht
It's the Analyzer you're passing into the QueryParser. StandardAnalyzer turns "C++" into "c". You can change the .jj grammar to fix this. (same for "C#") On 6/14/06, Joe Amstadt <[EMAIL PROTECTED]> wrote: I'm trying to do a search on ( Java PHP C++ ) with lucene 1.9. I am using a MultiFieldQu

MultiFieldQueryParser Search On C++ problem

2006-06-14 Thread Joe Amstadt
I'm trying to do a search on ( Java PHP C++ ) with lucene 1.9. I am using a MultiFieldQueryParser to parse with StandardAnalyzer. Before I parse the string I clean up the search string and it looks like this ( Java PHP C\+\+ ). The query is only searching on "c" and not "c++" any ideas as to what