diff options
Diffstat (limited to 'internal/index')
-rw-r--r-- | internal/index/index_meta.go | 3 | ||||
-rw-r--r-- | internal/index/indexer.go | 5 | ||||
-rw-r--r-- | internal/index/search.go | 5 |
3 files changed, 8 insertions, 5 deletions
diff --git a/internal/index/index_meta.go b/internal/index/index_meta.go index 47aa858..fe1b26c 100644 --- a/internal/index/index_meta.go +++ b/internal/index/index_meta.go @@ -4,9 +4,10 @@ import ( "encoding/json" "log/slog" "os" - "searchix/internal/file" "time" + "go.alanpearce.eu/searchix/internal/file" + "github.com/pkg/errors" ) diff --git a/internal/index/indexer.go b/internal/index/indexer.go index 600ea9b..62edbc1 100644 --- a/internal/index/indexer.go +++ b/internal/index/indexer.go @@ -10,10 +10,11 @@ import ( "math" "os" "path" - "searchix/internal/file" - "searchix/internal/nix" "slices" + "go.alanpearce.eu/searchix/internal/file" + "go.alanpearce.eu/searchix/internal/nix" + "github.com/blevesearch/bleve/v2" "github.com/blevesearch/bleve/v2/analysis/analyzer/custom" "github.com/blevesearch/bleve/v2/analysis/analyzer/keyword" diff --git a/internal/index/search.go b/internal/index/search.go index 3198afb..dc19db4 100644 --- a/internal/index/search.go +++ b/internal/index/search.go @@ -4,8 +4,9 @@ import ( "bytes" "context" "encoding/gob" - "searchix/internal/config" - "searchix/internal/nix" + + "go.alanpearce.eu/searchix/internal/config" + "go.alanpearce.eu/searchix/internal/nix" "github.com/blevesearch/bleve/v2" "github.com/blevesearch/bleve/v2/analysis/analyzer/standard" |