Search code examples
faunadb

Why my search for faunaDB can't get any item?


I'm stacking in searching faunaDB document by index. Please tell me what is wrong with my steps.

  1. I have a document that has a value of externalID as "GBXzbXya".

enter image description here

  1. I've created a index named label_search_by_externalID which has term as externalID

enter image description here

  1. Then I've searched GBXzbXya, but I've got a blank array as follows:

enter image description here

Now, I've no idea what was wrong. Any suggestions are welcome! Thank you for your help!


Solution

  • I've found the cause is the case mismatch. The document entry is externalID although Index term is ExternalID.