What is the best index type to define a unique numeric id?
Last updated 22, Mar 2024
Question
What is the best index type to define a unique numeric id?
Answer
Instead of using the NUMERIC
index field for numbers when used as primary keys and when the identifier is not used for range queries, the TAG index type simplifies the search index. So, remember: if the primary is used to access the data but not for range queries, the TAG index type is more convenient.
References
Learn what tags are and how to use them.