Skip to content

Commit

Permalink
config: suggestions for funders and awards
Browse files Browse the repository at this point in the history
  • Loading branch information
kpsherva committed Oct 24, 2023
1 parent c5fe97a commit 30800d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions invenio_vocabularies/contrib/awards/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ class AwardsSearchOptions(SearchOptions):
suggest_parser_cls = SuggestQueryParser.factory(
fields=[
"acronym^100",
"title.*^50",
"title.*._2gram",
"title.*._3gram",
"number^10",
"identifiers.identifier^10",
],
)

Expand Down
4 changes: 1 addition & 3 deletions invenio_vocabularies/contrib/funders/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ class FundersSearchOptions(SearchOptions):
suggest_parser_cls = SuggestQueryParser.factory(
fields=[
"name^100",
"title.*^5",
"title.*._2gram",
"title.*._3gram",
"identifiers.identifier^10",
]
)

Expand Down

0 comments on commit 30800d3

Please sign in to comment.