[错误]: 预生成问题在关闭后仍然影响搜索——问句向量不随配置清理,过时的问句仍然进入重新排序段落
作者: iceriverlin创建于 2026年9月29日更新于 2026年9月30日
- Create a document knowledge base, enable "question generation" (question_generation_config.enabled=true, question_count=3), and import a long document with significant content differences (easy to observe the sorting).
- Wait for the parsing to complete, and confirm that there are rows in the embeddings with source_id = - (approximately 3 times the number of chunks).
- Use a specific question in the document to query, and record the position of the top-K with the image and text chunks.
- Change the question_generation_config.enabled to false, without re-parsing, and query with the same question again:
- The question rows still remain in the index and continue to participate in the recall (side effect A).
- Re-parse (or re-parse a single document), confirm that the question vector rows are zeroed, and then check whether the chunks.metadata still contains generated_questions, and query with the same question again:
- The stale questions will still be included in the rerank passage (side effect B).
内容来源: Tencent/WeKnora