Hi, Don't get me wrong - I think lucene is great.
However, the first site I am using it with has 15k docs and the performance for ORs seem longer than I'd expect. Any tips to improve this? Thanks, Tom -----Original Message----- From: Tom Conlon [mailto:[EMAIL PROTECTED] Sent: 30 September 2007 23:48 To: java-user@lucene.apache.org Subject: RE: Escaping special characters Hi, In case this is of help to others: Crux of problem: I wanted numbers and characters such as # and + to be considered. Solution: implement a LowercaseWhitespaceAnalyzer and a LowercaseWhitespaceTokenizer. Tom ======================================================================= Diagnostics: StandardAnalyzer ---------------- Enter Querystring: (C++ AND C#) Searching for: +c +c Enter Querystring: (C\+\+ AND C\#) Searching for: +c +c Enter Querystring: ("moss 2007" or "sharepoint 2007") and "asp.net" Searching for: ("moss 2007" "sharepoint 2007") asp.net SimpleAnalyser -------------- Enter Querystring: C++ Searching for: c Enter Querystring: C# Searching for: c Enter Querystring: ("moss 2007" or "sharepoint 2007") and "asp.net" Searching for: (moss or sharepoint) and "asp net" WhitespaceAnalyzer ------------------ Enter Querystring: (C++ AND C#) Searching for: +C++ +C# Enter Querystring: ("moss 2007" or "sharepoint 2007") and "asp.net" Searching for: ("moss 2007" or "sharepoint 2007") and asp.net KeywordAnalyzer --------------- Enter Querystring: (C++ AND C#) Searching for: +C++ +C# Enter Querystring: ("moss 2007" or "sharepoint 2007") and "asp.net" Searching for: (moss 2007 or sharepoint 2007) and asp.net StopAnalyzer ------------ Enter Querystring: (C\++ AND C\#) Searching for: +c +c Enter Querystring: ("MOSS 2007" or "SHAREPOINT 2007") and "ASP.NET" Searching for: (moss sharepoint) "asp net" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]