Use integer match filter for Qdrant searches instead of matchKeyword

FixRAGService
Shipped
lúc 02:30 18 tháng 3, 2026 UTC
Author
Kamo
Commit
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.

All changes

Như những gì anh thấy vận chuyển?

Mỗi một bản cập nhật này đều được tự động cập nhật trong không gian làm việc của bạn. Bắt đầu tự do và xem nó lớn lên tuần này qua tuần khác.

Bắt đầu tự do mãi mãiXem truy cập