In reply to GripsterMoustache:
Mine went with a very audible "twang" in my pre-climbing days. I was on crutches for 2 days, then hobbling for about a week, walking normally but with discomfort for weeks 3-5, then very gentle running from about week 6. It was 3 months before I could run close to normally and 6 months before I was fully healed and no longer felt any discomfort or had to modify my exercise in any way.
I've also done 2 less serious tears bouldering. Both times, I was able to return to some climbing within about a week. Easy slab climbing, with careful selection of what moves you attempt, can be possible very early on. Heel hooks, or very steep climbing where you're having to toe in to keep your feet on, will take a LOT longer. It took more than 6 months both times before I was able to toe in in a roof without any weakness or discomfort.
If you get any choice in the matter, find the best physio you can. Ask around for recommendations. Make your physio aware of how important climbing is to you, and how much effort you want to put in to ensure a quick and full recovery (this will likely set you apart from most of their patients who might be looking to do the bare minimum).
Once it is healing/healed, make sure you warm up your hamstrings extremely thoroughly. You'll be susceptible to relapses, even after it feels fully healed. Pulling on to that V3 in the cave at the wall before you're fully warmed up is likely to lead to relapses.
You'll probably be surprised with how quickly you'll be back to climbing 7As in some styles, and how long it'll take before you can climb a juggy V2 or V3 in a roof without discomfort or risking a relapse.
As well as strength training on the fingerboard, I would add some endurance and power endurance work on a fingerboard too. Rather than coming back with less endurance, use it as an opportunity to improve your endurance so it's better than it was pre-injury.
With a pulley, a harness/weight belt and some weights, you can do density hangs, repeaters etc at lots of different durations/intensities to target different aspects of endurance. If you've got something to keep your mind occupied, you can even do ARC training on a fingerboard. The Crimpd app and Lattice YouTube have lots of info if you're new to training endurance on a fingerboard.
Make sure you use a range of different grips too, don't do all of your training on a half crimp, or all of it on a drag, or you'll set yourself up for some big weaknesses when you return.
And make sure you monitor how your fingers are feeling throughout, don't overdo it and give yourself a finger injury too!