Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to perform a case-sensitive search in OpenGrok?

Tags:

opengrok

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.

like image 644
Ivo Bosticky Avatar asked Oct 15 '09 01:10

Ivo Bosticky


People also ask

Can you do 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 .

How do I search in Opengrok?

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).


1 Answers

Reference search (-r) is case sensitive, as is definition (-d).

like image 96
Derek Slager Avatar answered Nov 12 '22 18:11

Derek Slager