>Has anyone had any experience/problems with using "C/C++" in Lucene queries? >When I do a query using that as a term I get back a bunch of records that do >not contain the term. The resulting query ends up being like: +(+c/c++) when >parsed by the QueryParser. I've also tried just adding Term objects to a >query myself and it has the same affect. Thanks for any help.
If you're using any of the basic analyzers, the / and + terms will be dropped in tokenization. If you want to search for terms like C++, you'll need a tokenizer that treats + as a letter. -- Brian Goetz Quiotix Corporation [EMAIL PROTECTED] Tel: 650-843-1300 Fax: 650-324-8032 http://www.quiotix.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
