Hi Team, I am integrating Typesense with our docu...
# community-help
v
Hi Team, I am integrating Typesense with our document management system (DMS) and planning to replicate the field names exactly as they are defined in the DMS. Some of these field names include spaces, such as
"Client Name List"
,
"Document Created By"
, etc. I want to clarify: 1. Does using field names with spaces cause any issues in Typesense for search, faceting, or filtering? 2. If we keep the names as-is (with spaces), will there be any limitations during document indexing or query execution We would prefer to keep the original field names from our DMS for traceability, but want to ensure it won’t impact Typesense performance or functionality. Thanks in advance!
k
I recommend not having spaces in field names. This will then require you to URL encode field names during querying, which will be easy to miss and quite cumbersome. Instead you can have a helper function that does to/from conversion between your DBMS and Typesense field names. This translation layer will allow you to still keep 1:1 mapping. Some simple rule like replace space with
_
and vice versa should be enough.
✅ 1