Skip to content

Commit

Permalink
Merge pull request #41 from wellcomecollection/query-article-ids
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieparkinson authored Apr 21, 2023
2 parents 5570998 + 816c206 commit 0bfcef7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/src/queries/articles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const articlesQuery = (queryString: string): QueryDslQueryContainer => ({
multi_match: {
query: queryString,
fields: [
"id",
"query.title.*^100",
"query.contributors.*^10",
"query.contributors.keyword^100",
Expand Down
2 changes: 1 addition & 1 deletion pipeline/src/indices/articles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const mapping = {
dynamic: "strict",
properties: {
id: {
type: "text",
type: "keyword",
},
display: {
type: "object",
Expand Down

0 comments on commit 0bfcef7

Please sign in to comment.