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

documents: fix boosting #977

Merged
merged 1 commit into from
Mar 13, 2024
Merged

documents: fix boosting #977

merged 1 commit into from
Mar 13, 2024

Conversation

jma
Copy link
Contributor

@jma jma commented Feb 19, 2024

  • Adds boostring support for field with fields sub properties.

Co-Authored-by: Johnny Mariéthoz Johnny.Mariethoz@rero.ch

@jma jma marked this pull request as ready for review February 21, 2024 10:34
if conf.get('fields'):
tmp_fields = [field, f'{field}.*']
for tmp_f in tmp_fields:
if tmp_f in existing_fields:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not using:

if tmp_f not in existing_fields:
    fields.append(tmp_f)

* Adds boostring support for field with fields sub properties.

Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
@jma jma merged commit cb72172 into rero:staging Mar 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants