I often stick to just google'ing something like this:

"get permalink wordpress" (no quotes)

Or if I want to search specifically just the codex, I'd do:

get permalink site:codex.wordpress.org

Generally, adding the keyword "wordpress" to any query, typically results in a codex result and I'm happy.