-
-
Notifications
You must be signed in to change notification settings - Fork 223
BE: Full text search support #1267
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
Conversation
api/src/main/java/io/kafbat/ui/service/index/ShortWordAnalyzer.java
Outdated
Show resolved
Hide resolved
api/src/main/java/io/kafbat/ui/service/index/ShortWordNGramAnalyzer.java
Outdated
Show resolved
Hide resolved
api/src/main/java/io/kafbat/ui/service/metrics/scrape/ScrapedClusterState.java
Outdated
Show resolved
Hide resolved
api/src/main/java/io/kafbat/ui/service/index/SchemasFilter.java
Outdated
Show resolved
Hide resolved
|
@germanosin It seems that this change introduced #1344 |
|
What is actually the functionality implemented here? (No linked issue, no docs added.) We upgraded to 1.4.2 and set fts:
enabled: trueand I've tried to use wildcard |
|
@germanosin Here is my test: Topic search:
Consumer search:
So, multi word search works. I have not created a bug, because there is no "by design" documentation to lean on. |
The full-text search algorithm is fairly straightforward. It splits names into parts based on spaces, special characters (such as dashes or underscores), and case changes. When you perform a search, your query is split the same way, and the system looks for name segments that begin with those query fragments. |
|
@germanosin thanks for explaining. Why does is |
topics use lucene based indexing |
|
Thanks @germanosin. Thanks for putting effort into this great product! |
What changes did you make? (Give an overview)
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)
Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)
Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)