Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added funding org to the search #160

Merged
merged 2 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/service/elastic_service.data.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const elasticSearchResultMinimumAmount = {
ELASTIC_INDEX_FIELDS.summary,
ELASTIC_INDEX_FIELDS.eligibility,
ELASTIC_INDEX_FIELDS.shortDescription,
ELASTIC_INDEX_FIELDS.grantFunder,
],
fuzziness: 'AUTO',
operator: 'AND',
Expand Down Expand Up @@ -57,6 +58,7 @@ export const elasticSearchResultMaximumAmount = {
ELASTIC_INDEX_FIELDS.summary,
ELASTIC_INDEX_FIELDS.eligibility,
ELASTIC_INDEX_FIELDS.shortDescription,
ELASTIC_INDEX_FIELDS.grantFunder,
],
fuzziness: 'AUTO',
operator: 'AND',
Expand Down Expand Up @@ -98,6 +100,7 @@ export const elasticSearchResultClosingDate = {
ELASTIC_INDEX_FIELDS.summary,
ELASTIC_INDEX_FIELDS.eligibility,
ELASTIC_INDEX_FIELDS.shortDescription,
ELASTIC_INDEX_FIELDS.grantFunder,
],
fuzziness: 'AUTO',
operator: 'AND',
Expand Down Expand Up @@ -139,6 +142,7 @@ export const elasticSearchResultWithoutSort = {
ELASTIC_INDEX_FIELDS.summary,
ELASTIC_INDEX_FIELDS.eligibility,
ELASTIC_INDEX_FIELDS.shortDescription,
ELASTIC_INDEX_FIELDS.grantFunder,
],
fuzziness: 'AUTO',
operator: 'AND',
Expand Down
1 change: 1 addition & 0 deletions src/service/elastic_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export class ElasticSearchService {
ELASTIC_INDEX_FIELDS.summary,
ELASTIC_INDEX_FIELDS.eligibility,
ELASTIC_INDEX_FIELDS.shortDescription,
ELASTIC_INDEX_FIELDS.grantFunder,
],
},
});
Expand Down
1 change: 1 addition & 0 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export const URL_ACTION_MESSAGES = new Map([

export const ELASTIC_INDEX_FIELDS = {
grantName: 'fields.grantName.en-US',
grantFunder: 'fields.grantFunder.en-US',
shortDescription: 'fields.grantShortDescription.en-US',
summary: 'fields.grantSummaryTab.en-US.content.content.*',
eligibility: 'fields.grantEligibilityTab.en-US.content.content.*',
Expand Down
Loading