openmct/platform/features/search/bundle.json
shale 9f5f14826b [Search] Changed generic's matching implementation
Changed how the generic search provider determines
search matches. It now splits the search input into
search terms by spliting at spaces, and then scores
the results by how many of the terms appear as
substrings in the result.
2015-07-17 13:49:09 -07:00

60 lines
1.9 KiB
JSON

{
"name": "Search View",
"description": "Allows the user to search through the file tree.",
"extensions": {
"views": [
{
"key": "search",
"name": "Search",
"glyph": "5",
"description": "Search functionality.",
"templateUrl": "templates/search.html"
}
],
"controllers": [
{
"key": "SearchController",
"implementation": "controllers/SearchController.js",
"depends": [ "$scope", "searchService", "objectService" ]
},
{
"key": "SearchbarController",
"implementation": "controllers/SearchbarController.js",
"depends": [ "$scope", "searchService" ]
}
],
"templates": [
{
"key": "searchbar",
"templateUrl": "templates/searchbar.html",
"uses": [ "composition" ]
}
],
"representations": [
{
"key": "searchbar-item",
"templateUrl": "templates/searchbar-item.html",
"uses": [ "composition" ]
}
],
"components": [
{
"provides": "searchService",
"type": "provider",
"implementation": "providers/GenericSearchProvider.js",
"depends": [ "objectService" ]
},
{
"provides": "searchService",
"type": "provider",
"implementation": "providers/ElasticsearchSearchProvider.js",
"depends": [ "$http", "objectService", "ELASTIC_ROOT" ]
},
{
"provides": "searchService",
"type": "aggregator",
"implementation": "SearchAggregator.js"
}
]
}
}