How did the hierarchy field come about? How can you build a search experience like beta.reactjs.org

How did the hierarchy field come about? How can you build a search experience like beta.reactjs.org?

Are there some tutorials that can help me?