Skip to main content
Glama

Solr MCP

by allenday
constants.py790 B
"""Constants for SolrCloud client.""" # Field type mapping for sorting FIELD_TYPE_MAPPING = { "string": "string", "text_general": "text", "text_en": "text", "int": "numeric", "long": "numeric", "float": "numeric", "double": "numeric", "date": "date", "boolean": "boolean", } # Synthetic fields that can be used for sorting SYNTHETIC_SORT_FIELDS = { "score": { "type": "numeric", "directions": ["asc", "desc"], "default_direction": "desc", "searchable": True, }, "_docid_": { "type": "numeric", "directions": ["asc", "desc"], "default_direction": "asc", "searchable": False, "warning": "Internal Lucene document ID. Not stable across restarts or reindexing.", }, }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/allenday/solr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server