Thread:Extension talk:SphinxSearch/Adding redirect links + section links to search results?

How does Wikimedia add redirect links + section links into their search results?

For example, if you search the term 'maderia portugal' you get something similar to the following:


 * Ribeira Brava, Madeira (redirect from Ribeira Brava, Portugal)
 * Boal (grape) (section Maderia Boal)

Is there any way to do this with SphinxSearch?