Which fields are used for scoring?

I write doc's into Elastic with different fields.
Only certain fields should be used for scoring.

Do I need to tell the index while creating it which fields need to be used for scoring
or do I include this information at my query?

Welcome to our community! :smiley:

Scoring is calculated based on the fields that are queried.