Couchbase Full Text Search

We have a json snippet as follows.There are almost 1000 questions like this data is modeled this way. Is there a way to get all endocrine question snippets when we query looking for bodySystem as “endocrine” without knowing or referring to “question1.bodySystem = endocrine” or question3.bodySystem = endocrine in the index or the query. If we do that we will only get the matching questions with the exact question1d we are looking for which we dont want.

Marty asked me to ask this in the forums. Any help or guidance on this will be immensely appreciated.
I met with him and discussed this at the Connect16. - Preethi

“question1”: {
“displayName”: “Any endrocine disorder”,
“driver”: “screen”,
“bodySystem”: “endocrine”,
“billingCode” : “1234”,
“response”: [
{
“value”: “”
}
]
},
“question2”: {
“displayName”: “Any Lung Disorder”,
“driver”: “screen”,
“bodySystem”: “pulmonary”,
“billingCode” : “345”,
“response”: [
{
“value”: “”
}
]
},

“question3”: {
“displayName”: “Any diabetes”,
“driver”: “screen”,
“bodySystem”: “endocrine”,
“billingCode” : “1000”,
“response”: [
{
“value”: “”
}
]
}

1 Like

Thanks for sharing this information here. I have create an issue for it here: https://issues.couchbase.com/browse/MB-21648

This is an important use case we’d like to find a better way to support in the future.

marty

Thank you Marty for the response.