Assign boost to document at index time

I think your question duplicates the one you opened previously at Pre boost while indexing