Bird
0
0

What values can an Elasticsearch boolean field store?

easy🧠 Conceptual Q1 of 15
Elasticsearch - Mappings and Data Types
What values can an Elasticsearch boolean field store?
AText strings
BAny number
COnly true or false
DDates and times
Step-by-Step Solution
Solution:
  1. Step 1: Understand boolean type in Elasticsearch

    The boolean type stores logical values representing true or false only.
  2. Step 2: Compare with other data types

    Numbers, strings, and dates are stored in other specific types, not boolean.
  3. Final Answer:

    Only true or false -> Option C
  4. Quick Check:

    Boolean type = true/false [OK]
Quick Trick: Boolean fields only accept true or false values [OK]
Common Mistakes:
MISTAKES
  • Confusing boolean with numeric types
  • Thinking boolean stores text
  • Assuming boolean stores multiple values

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes