diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/search-spec.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/search-spec.js b/src/util/search-spec.js index 4a112a22..a990d022 100644 --- a/src/util/search-spec.js +++ b/src/util/search-spec.js @@ -112,6 +112,9 @@ export const searchSpec = { process(thing, opts) { const fields = {}; + fields.kind = + thing.constructor[Symbol.for('Thing.referenceType')]; + fields.primaryName = thing.name; @@ -168,6 +171,7 @@ export const searchSpec = { }, index: [ + 'kind', 'primaryName', 'additionalNames', 'contributors', |