Skip to content

Commit

Permalink
default to enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
keegancsmith committed Oct 24, 2023
1 parent 6984e15 commit 0b6afdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contentprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ func sortChunkMatchesByScore(ms []ChunkMatch) {
sort.Sort(chunkMatchScoreSlice(ms))
}

var doNovelty = os.Getenv("ZOEKT_NOVELTY") != ""
var doNovelty = os.Getenv("ZOEKT_NOVELTY_DISABLE") == ""

// SortFiles sorts files matches. The order depends on the match score, which includes both
// query-dependent signals like word overlap, and file-only signals like the file ranks (if
Expand Down

0 comments on commit 0b6afdb

Please sign in to comment.