A Quick Tip
Looking to find the URL directly to a file in a library and NOT the view form, or online document editor? Take a look at your out of the box managed property DefaultEncodingURL. This managed property will contain the absolute URL. However this property appears to be intended for Video links. If you plan on implementing the direct file URL I would suggest playing it safe and making a new managed property which uses the ows_EncodedAbsUrl crawled property.