[prev in list] [next in list] [prev in thread] [next in thread]
List: opensolaris-opengrok-discuss
Subject: Re: [opengrok] Searching for wildcards
From: Lubos Kosco <Lubos.Kosco () Oracle ! COM>
Date: 2012-01-25 11:43:55
Message-ID: 4F1FEAFB.8050608 () Oracle ! COM
[Download RAW message or body]
It can very well be, we don't even index a wildcard
it depends on language analyzer
e.g. sql analyzer inherits tokenizer from plain file analyzer
which says(regexp):
Identifier = [a-zA-Z_] [a-zA-Z0-9_]*
hence I doubt '*' is indexed
obviously these analyzers could be improved, so it's just about
adjusting the appropriate .lex file and improve the lexical analysis
also note that 1 char tokens most usually don't make that much sense and
just unnecessary increase index, so we do them only for full search, I
think symbols and refs just ignore 1 char identifiers ...
hth
L
On 25.1.2012 11:44, Creigh Hobson wrote:
> I really am not a bad googler, but I could not find any tips on how to
> search for a wildcard in a sentence. Specifically, we have a policy
> here at work in which they do not allow any sql select statements with
> a wildcard, i.e. "select * from ...". I have tried escaping the
> wildcard but it makes no difference, even on opengrok's own search
> site. Can someone point me in the right direction?
>
> Regards
> C
> _______________________________________________
> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic