Re: How to find "function()" - ?

2006-01-30 Thread Michael D. Curtin
Dmitry Goldenberg wrote: a) if I index "function()" as "function()" rather than "function", does that mean that if I search for "function", then it won't be found? -- the problem is that in some cases, the user will want to find function(), and in some cases just function -- can I accommodate

RE: How to find "function()" - ?

2006-01-30 Thread Dmitry Goldenberg
d fashion, e.g. function\() -- or is function() ok? Thanks, - Dmitry From: Michael D. Curtin [mailto:[EMAIL PROTECTED] Sent: Fri 1/27/2006 2:14 PM To: java-user@lucene.apache.org Subject: Re: How to find "function()" - ? Dmitry Goldenberg wrote: >

Re: How to find "function()" - ?

2006-01-27 Thread Michael D. Curtin
Dmitry Goldenberg wrote: Hi, I'm trying to figure out a way to locate tokens which include special characters. The actual text in the file being indexed is something like "function() { statement1; statement2; }" The query I'm using is "function\()" since I want to locate precisely "function

How to find "function()" - ?

2006-01-27 Thread Dmitry Goldenberg
Hi, I'm trying to figure out a way to locate tokens which include special characters. The actual text in the file being indexed is something like "function() { statement1; statement2; }" The query I'm using is "function\()" since I want to locate precisely "function()" - the query succeeds