All my documents have date field and these dates can be in the past and in the future. What I need is to boost documents that correspond to dates in the range (now - 2 weeks, now + 2 weeks). But the documentation says:
In the current service release, one end of the range will be fixed to the current time. The other end is a time in the past based on the boostingDuration. To boost a range of times in the future, use a negative boostingDuration.
So I cannot boost documents in the past and in the future by one scoring profile.