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

Update bleve to newest #6

Closed
ABOB9 opened this issue Nov 15, 2022 · 3 comments
Closed

Update bleve to newest #6

ABOB9 opened this issue Nov 15, 2022 · 3 comments

Comments

@ABOB9
Copy link

ABOB9 commented Nov 15, 2022

can't compile

/go/pkg/mod/github.com/vcaesar/gse-bleve@v0.33.0/analyzer.go:25:9: invalid composite literal type analysis.Analyzer
/go/pkg/mod/github.com/vcaesar/gse-bleve@v0.33.0/analyzer.go:30:39: cannot use analyzerConstructor (value of type func(config map[string]interface{}, cache *registry.Cache) (*analysis.Analyzer, error)) as type registry.AnalyzerConstructor in argument to registry.RegisterAnalyzer
/go/pkg/mod/github.com/vcaesar/gse-bleve@v0.33.0/analyzer.go:31:42: cannot use analyzerConstructor (value of type func(config map[string]interface{}, cache *registry.Cache) (*analysis.Analyzer, error)) as type registry.AnalyzerConstructor in argument to registry.RegisterAnalyzer

Compilation finished with exit code 2

@vcaesar
Copy link
Owner

vcaesar commented Dec 4, 2022

Closing is due to can't reproduce.

@vcaesar vcaesar closed this as completed Dec 4, 2022
@tsingsun
Copy link

tsingsun commented Dec 5, 2022

I think this cause by the bleve/v2 above 2.3.2;

bleeve 2.3.5
Breaking change in defining custom analyzers

@leopku
Copy link

leopku commented Aug 30, 2023

Any update for compatable with latest bleve?

@vcaesar vcaesar reopened this Aug 30, 2023
@vcaesar vcaesar changed the title big bug Update bleve to newest Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants