I'm newbie in SOLR and I have a problem with multi values field.
My document has the following format:
{
"question":[
"question 1",
"question 2".
"question 3"
"question 4"
],
"answer": "Here is the answer"
}
When I search for the query: "question:question 2", SOLR returns the hold document as:
{"question":[
"question 1",
"question 2".
"question 3"
"question 4"
],
"answer": "Here is the answer"}
Is there any way to make the result contains only the "best" value of multi-values field:
{
"question":[
"question 2".
],
"answer": "Here is the answer"
}
Thank you in advance.