about summary refs log tree commit diff stats
path: root/internal/search
diff options
context:
space:
mode:
authorAlan Pearce2024-05-10 12:57:26 +0200
committerAlan Pearce2024-05-11 15:19:52 +0200
commit4b2560893f433034fa7649f9979373adfb018e61 (patch)
tree176dbe685bca7e6d6cb859746bbda276be19c456 /internal/search
parent793c89a87cb58f09678bdf150694a369c088d914 (diff)
downloadsearchix-4b2560893f433034fa7649f9979373adfb018e61.tar.lz
searchix-4b2560893f433034fa7649f9979373adfb018e61.tar.zst
searchix-4b2560893f433034fa7649f9979373adfb018e61.zip
refactor: don't explain searches
Diffstat (limited to 'internal/search')
-rw-r--r--internal/search/search.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/search/search.go b/internal/search/search.go
index 829fefe..c930f15 100644
--- a/internal/search/search.go
+++ b/internal/search/search.go
@@ -87,7 +87,6 @@ func (index *ReadIndex) Search(
 	search := bleve.NewSearchRequest(query)
 	search.Size = ResultsPerPage
 	search.Fields = []string{"_data"}
-	search.Explain = true
 
 	if from != 0 {
 		search.From = int(from)