Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine fuzziness of bleve indexer by keyword length #29706

Merged
merged 18 commits into from
Mar 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
  • Loading branch information
6543 committed Mar 23, 2024
commit b48ed5facf671e9fa1f002ba12709cbc433fdff0
2 changes: 2 additions & 0 deletions tests/integration/repo_search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
assert.NoError(t, err)

code_indexer.UpdateRepoIndexer(repo)
6543 marked this conversation as resolved.
Show resolved Hide resolved
time.Sleep(1000)

Check failure on line 36 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / lint-backend

undefined: time

Check failure on line 36 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / lint-go-gogit

undefined: time

Check failure on line 36 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / lint-go-windows

undefined: time

Check failure on line 36 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / test-pgsql

undefined: time

Check failure on line 36 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / test-sqlite

undefined: time

Check failure on line 36 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / test-mysql

undefined: time

Check failure on line 36 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / test-mssql

undefined: time
6543 marked this conversation as resolved.
Show resolved Hide resolved

testSearch(t, "/user2/repo1/search?q=Description&page=1", []string{"README.md"})

Expand All @@ -43,6 +44,7 @@
assert.NoError(t, err)

code_indexer.UpdateRepoIndexer(repo)
6543 marked this conversation as resolved.
Show resolved Hide resolved
time.Sleep(1000)

Check failure on line 47 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / lint-backend

undefined: time (typecheck)

Check failure on line 47 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / lint-go-gogit

undefined: time (typecheck)

Check failure on line 47 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / lint-go-windows

undefined: time (typecheck)

Check failure on line 47 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / test-pgsql

undefined: time

Check failure on line 47 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / test-sqlite

undefined: time

Check failure on line 47 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / test-mysql

undefined: time

Check failure on line 47 in tests/integration/repo_search_test.go

View workflow job for this annotation

GitHub Actions / test-mssql

undefined: time
6543 marked this conversation as resolved.
Show resolved Hide resolved

testSearch(t, "/user2/glob/search?q=loren&page=1", []string{"a.txt"})
testSearch(t, "/user2/glob/search?q=loren&page=1&t=match", []string{"a.txt"})
Expand Down
Loading