Search query java

Hi @Deepak_Kumar20,

I can’t see the index definition here but your sample documents provided seem to have the primary_skills field as a string but the string value itself contains square brackets. Is this expected?

You can find the index definition in the Atlas UI in the Atlas Search indexes section viewing / editing the index in the JSON editor.

Additionally, it’s quite difficult to read the information provided. Can you try reformatting the post? Please see Formatting code and log snippets in posts for more details. I noticed there are syntax errors as well (missing commas & quotation marks). This makes it difficult if community users try to assist with the issue when they copy and paste document(s) or code snippets into their test environments.

Regards,
Jason