-
Couldn't load subscription status.
- Fork 45
Description
So, gotten Opensearch.xml to work with the browser search box over at life-index, but need a little more to get the autocomplete to work fully.
Today the respons JSON is an array of suggested search words.

From the Opensearch XML documentation for suggestions it seems I need to alter the JSON a bit. I need the existing list
[
"test",
"testing",
"tests",
"tested",
"test2"",
"test2",
"test\\tools\\bench",
"testcase",
"test1"",
"testdata"
]to look like
[
"test",
[
"test",
"testing",
"tests",
"tested",
"test2"",
"test2",
"test\\tools\\bench",
"testcase",
"test1"",
"testdata"
]
]Where the first array consists of the query or beginsWith and then the array of suggestions. My question is if you have an idea on how easy it would be to make this a part of the existing Norch without breaking anything?
Before you do anything, I can test with some dummy-JSON to be sure this is actually working for the browser.