Use integer match filter for Qdrant searches instead of matchKeyword

FixRAGService
ส่งแล้ว
18 มีนาคม 2569 เวลา 02:30 UTC
ผู้เขียน
Kamo
ตั้งค่า
34dfe45

The orgId and articleId payload fields are stored as integers via value(Long), but search and delete filters used matchKeyword() which only matches string/keyword fields. This type mismatch meant Qdrant searches always returned zero results — the AI chat could never find any KB articles. Switch from matchKeyword(field, value.toString()) to match(field, value) which correctly filters on integer payload fields. Also reverts the incorrect PUBLISHED-only gate removal — only published articles should be indexed for RAG.

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์