wip composable result list
Signed-off-by: Emma Indal <emma.indahl@gmail.com> Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
committed by
Eric Peterson
parent
b614549b3e
commit
8829e8228e
@@ -146,7 +146,7 @@ export class LunrSearchEngine implements SearchEngine {
|
||||
// Translate results into SearchResultSet
|
||||
const resultSet: SearchResultSet = {
|
||||
results: results.map(d => {
|
||||
return { document: this.docStore[d.ref] };
|
||||
return { type: 'techdocs', document: this.docStore[d.ref] };
|
||||
}),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user