This is what I came up with. Indexed w ords are made up of Alpha-Numeric and
Underscore characters.
Most other character (including single and double quotes) are treated as
spaces/whitespace.
With these exceptions @ $ % ^ & - + = ? . : which are indexed as separate words.
Because they are part of the query syntax they must be escaped with a reverse
slash.
So searching for \+1 or \+ 1 will both find +1 and + 1
----- "Lubos Kosco" <lubos.ko...@oracle.com> wrote:
I'll take care of that
it actually heavily depends on symbol tokenizer for appropriate analyzer, but
since most of
them are the same, we should really make it obvious from help.
Thanks for the point, will fix, or feel free to send a patch (will integrate it
for you)! ;)
Lubos
On 4.11.2010 14:09, Bruce Furber wrote:
Since Opengrok ignores special characters, this section in the Help file is
misleading.
Escaping special characters:
Opengrok supports escaping special characters that are part of the query
syntax. The current list special characters are:
+ - && || ! ( ) { } [ ] ^ " ~ * ? : \
To escape these character use the \ before the character. For example to search
for (1+1):2 use the query: \(1\+1\)\:2
_______________________________________________
opengrok-discuss mailing list opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss