FullText Search Engine Componenets
· 2 min read
What's the Core Components in a Full Text Search Engine
Look into Bleve Modern Search Lib Code, and Found that it has the following core components:
component | function of the component | |
---|---|---|
analysis | mainly contains analyzer(char filters, token filters, tokenizer) | |
cmd | command line client | |
document | define Document and Related Doc Fields(Text Field, Datetime Field, etc) | |
geo | Implement geo point and geo shape query | |
index | Analyze and read, write indexed fields to under key-value store | |
mapping | implment DocumentMapping: How the Document should be indexed. | |
search | Implment search functionality |