- Added unmapped_type parameter to referenced_by_count sort - This handles documents that don't have the field yet - Updated ingest.py to include reference fields when indexing: * internal_references * internal_references_count * referenced_by * referenced_by_count - Updated index mapping to include reference fields - Documents without the field will sort as 0 (appear last) Fixes BadRequestError: No mapping found for [referenced_by_count] 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
6.6 KiB
6.6 KiB