Skip to content

[bug] Search not finding all files #495

@weberpatr

Description

@weberpatr

Describe the bug

Hello,

We setup Sourcebot last week and connected it to our self-hosted GitLab instance.
After a couple of days it figured out, the search is not finding all occurences of a specific filename or string.
Indexing should be done for all ~600 repos. Any idea?

To reproduce

Example 1:
repo:<team1> file:pom.xml "xml version" -> 7 search results

Same search with npm tool gitlab-search lists around 50 results in the same group:
gitlab-search -g <team1> -f pom.xml "xml version "

Example 2:
repo:<team2> "test" results in 158 matches in 44 files, but only 4 repos of that group.
Same search with npm tool gitlab-search lists around 153 different files
gitlab-search -g <team2> "test"

Sourcebot deployment information

Sourcebot-Version: 4.6.6

Additional information

Configration:

{
  "all": true,
  "url": "https://gitlab.company.io",
  "type": "gitlab",
  "token": {
    "secret": "SourceBot-GitLab-Token"
  },
  "exclude": {
    "archived": true
  }
}

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