Skip to content

Something seems off with OpenGrok searching using Definition Search box #4773

@amodkki

Description

@amodkki

Describe the bug
As an example, I want to see the source for Collections.synchronizedList using Definition Search box.

Entering Collections.synchronizedList into the Definition field yields no results, yet the Collections class has a synchronizedList method (presently on line 2685).
Also, typing the fully qualified name, java.util.Collections does not find the Collections class - it yields no search results.

Tools version used to set up opengrok.

Opengrok - 1.13.22
Tomcat - 10.1.28
Ctags - uctags-2024.01.18-linux-x86_64
OS - Oracle Linux Server 7.6
OS Kernel: Linux 4.14.35-1844.2.5.el7uek.x86_64

To Reproduce
Steps to reproduce the behavior:

  1. Open the Opengrok application and select jdk-jdk project or any.
  2. Enter Collections.synchronizedList in Definition Search box.
  3. It did not return anything. Result is as below.

Image

Expected behavior
It should show search result with Collections.synchronizedList
Screenshots

Image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions