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
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:
>
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
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