- 
                Notifications
    You must be signed in to change notification settings 
- Fork 790
Closed
Description
Hey,
My Opengrok version is 1-5-11
When I try to search for definitions I got each appears on the file the variable is defined there, for example,
https://opengrok.checkpoint.com:8443/source/api/v1/search?def=ws_http2_stream_error_action&projects=ivory_main
This is what I get, it should return only line 105, on UI it works and jumps me direct to line 105
{
  "time": 11,
  "resultCount": 1,
  "startDocument": 0,
  "endDocument": 0,
  "results": {
    "/ivory_main/ws/http2/ws_http2_parser.c": [
      {
        "line": " * fw ctl set int <b>ws_http2_stream_error_action</b> 0/1",
        "lineNumber": "103"
      },
      {
        "line": "int <b>ws_http2_stream_error_action</b> = E_WS_HTTP2_STREAM_ERROR_HANDLE;",
        "lineNumber": "105"
      },
      {
        "line": "\t\tswitch(<b>ws_http2_stream_error_action</b>)",
        "lineNumber": "5009"
      },
      {
        "line": "\t\t\t\tWS_DEBUG(WS_HTTP2, WS_ERROR, (\"invalid stream error action %d\", <b>ws_http2_stream_error_action</b>));",
        "lineNumber": "5035"
      }
    ]
  }
}