Looking at the OpenGrok help page reveals that the search query is based on Lucene, and Lucene in turn indicates that search queries are converted to lower case. I was wondering if there is any way to change this behavior and perform a case-sensitive search.
By default, searches are case-insensitive. You can make your search case-sensitive by using the case filter. For example, the following search returns only results that match the term HelloWorld . It excludes results where the case doesn't match, such as helloWorld or helloworld .
2 Answers. Show activity on this post. When searching for special characters, try using escape character before the character, i.e. \, e.g. "foo\(". Additionally, I found a reply for a similar question (see http://marc.info/?l=opensolaris-opengrok-discuss&m=115776447032671).
Reference search (-r) is case sensitive, as is definition (-d).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With