Skip to content

Commit

Permalink
feat: Search for publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbrowne committed Dec 9, 2021
1 parent ec1bce7 commit cfa03ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/graphql/resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ const searchWithLunr = (
self.ref("iri");
self.field("title", { boost: 2 });
self.field("description");
self.field("publisher");

self.metadataWhitelist = ["position"];

cubesData.forEach(function (doc) {
Expand Down

0 comments on commit cfa03ae

Please sign in to comment.