Questions tagged [opengrok]

OpenGrok is a code search tool from Oracle.

78 questions
17
votes
1 answer

Is it possible to perform a case-sensitive search in 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…
Ivo Bosticky
  • 6,338
  • 6
  • 34
  • 35
12
votes
3 answers

Is there an OpenGrok API?

Is there an API for OpenGrok? I'm interested in mining the results in either Perl or Java. At the moment, I could perform HTML scrapping against the results, but seems less-than-ideal. As per its website, it leverages Lucene, but no real info on how…
Jose Leon
  • 1,615
  • 3
  • 22
  • 30
10
votes
0 answers

Can I combine fuzzy and proximity searches in Apache Lucene's standard syntax?

I am searching a codebase indexed by OpenGrok, the -a option has been enabled to allow the first character of a search term to be a wildcard. I would like to find all occurrences of method foo that take some string parameter (foo("") with one or…
MilesHampson
  • 2,069
  • 24
  • 43
8
votes
1 answer

How can you connect OpenGrok to a SVN repository?

I was able to install and use opengrok on WinXP using this blog entry http://theflashesofinsight.wordpress.com/2009/05/11/install-opengrok-on-windows/ I now want to index a subversion repository. I checked out a repository to the source folder and…
Mathias F
  • 15,906
  • 22
  • 89
  • 159
8
votes
2 answers

How to use OpenGrok with GitHub?

GitHub's advanced search is okay, but the OpenGrok has some desirable features. To use OpenGrok with GitHub hosted repo's will I have to: Set up my own OpenGrok server Clone the various repos Schedule pulls to keep up-to-date Or is there another…
Karl Kieninger
  • 8,841
  • 2
  • 33
  • 49
7
votes
2 answers

In OpenGrok how do you do a full search for special non-alphanumeric characters

I am trying to search my codebase for code that calls a function named "foo" so I am searching for "foo(" but the results I'm getting includes everything with the word foo in it which includes css, comments and strings that don't even have the…
DiverseAndRemote.com
  • 19,314
  • 10
  • 61
  • 70
7
votes
3 answers

How to speed up OpenGrok indexing

lately I was asked by my boss to explore OpenGrok possibilities in the company I'm working for. First I started with a few projects at my virtualbox lubuntu, it was working ok, but kind of slowly. I blamed my laptop with mediocre parameters for…
Milano Nicolum
  • 131
  • 1
  • 6
7
votes
4 answers

alternative to opengrok

I am using for an alternative to OpenGrok. I can't configure it properly. What I want is to browse to the code, like I would be in Visual Studio. I'd like to have a menu with a minimum option of Go To Definition, find references etc. How can that be…
Dan Lincan
  • 1,065
  • 2
  • 14
  • 32
6
votes
1 answer

How to install OpenGrok on Windows 7 for searching SVN files

I am working on Searching through SVN repository.I came through this tool OpenGrok for indexing and searching through the repository. but i problem i am getting is i am not able to get it configured on my system. Can someone help me in getting this…
Love Gupta
  • 975
  • 2
  • 16
  • 31
5
votes
1 answer

how to download entire folder from opengrok results

How can we download entire folder/dir from the opengrok results? I know we can download file from the opengrok results but not quite sure for entire directory/folder.
Ravs
  • 261
  • 2
  • 7
  • 15
5
votes
3 answers

How to ignore directories in OpenGrok index?

I am trying to setup OpenGrok to search through a few GB of code, mostly Java and Python projects. I use opengrok-0.12.1/bin/OpenGrok index $SRC_ROOT to build the index. I can see it indexing Java's "target" and Python's ".tox" directories which I…
bsravanin
  • 1,803
  • 1
  • 14
  • 15
5
votes
3 answers

Is it possible to search for a phrase in opengrok containing curly brackets?

I have tried using something like "struct a {" and "struct a {" to look for the declaration of "a". But it seems opengrok just ignores the curly brackets. Is there a way to search for the phrase "struct a {"?
Tony
  • 1,839
  • 10
  • 27
  • 48
5
votes
4 answers

How do I handle git branches in OpenGrok?

We want to index our (fairly large collection of) git repositories using OpenGrok, and the one thing I haven't been able to figure out is how to index all the branches. From what I can see, it looks like I need to have checked-out copies of each…
ebneter
  • 20,795
  • 9
  • 30
  • 30
4
votes
1 answer

Searching history using opengrok

I have been working on OPENGROK for searching through my SVN code repository. It requires a checked out version of the repository to index it. I have been able to achieve is searching through the repository when I have checked out version on my…
Love Gupta
  • 975
  • 2
  • 16
  • 31
3
votes
1 answer

OpenGrok home page not refreshing when index updated

I followed this tutorial to install OpenGrok on an Ubuntu server using Tomcat 7. I have created a cron job that will trigger OpenGrok to update its indexes overnight. If I browse my source tree, by visiting http://mysite/opengrok/xref/, the contents…
Duncan Jones
  • 67,400
  • 29
  • 193
  • 254
1
2 3 4 5 6