Message
Invalid local role: foo
Explanation
The specified role is not one of the permissable local role values:
"request"
- Represents the search query that can be performed to retrieve the same set of search results.
"example"
- Represents a search query that can be performed to demonstrate the search engine.
"related"
- Represents a search query that can be performed to retrieve similar but different search results.
"correction"
- Represents a search query that can be performed to improve the result set, such as with a spelling correction.
"subset"
- Represents a search query that will narrow the current set of search results.
"superset"
- Represents a search query that will broaden the current set of search results.
Solution
Either replace the role value with one listed in the OpenSearch 1.1 specification, or use a fully qualified role.. .
Not clear? Disagree?
You might be able to find help in one of these fine resources.