infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
22.82k stars 2.24k forks source link

[Question]: Customize Elasticsearch #2762

Open Said-Apollo opened 1 month ago

Said-Apollo commented 1 month ago

Describe your problem

Is there a configuration file for Elasticsearch that defines which columns are present? When using Elasticvue, I observed the following columns: index, type, id, score, doc_id, kb_id, docnm_kwd, title_tks, title_sm_tks, content_with_weight, content_ltks, content_sm_ltks, create_time, create_timestamp_flt, and q_3072_vec.

For my use case, I am interested in adding additional columns and customizing the mapping to improve search results. How can this be configured?

KevinHuSh commented 1 month ago

Please refer this.