New search demo
Demonstrate the new Genesys search concepts:
Depends on genesys-catalog#167 (closed)
TBD
- How do we display hits in their relevant groups?
- How do we apply selected hits to appropriate filters?
- How much does the client have to know about these structures?
Groups
Server response should list hits in their relevant groups, where group name is a label we pass through i18n:
{
"search.group.partner": {
"filters": [ "owner.id" ],
"key": "id",
"hits": [ { "id": 121, "shortName": "IITA", "title": "..." }, { } ]
},
"search.group.descriptor": {
"filters": [ "descriptor.id" ],
"key": "id",
"hits": [ ... ]
},
"search.group.crop": {
"filters": [ "crop" ],
"key": "code",
"hits": [ { "code": "cassava", "title": "Cassava" } ]
}