OK, so here is Discern Realities:I was just going off the post I replied to, that was not specified. Let's assume it is Dungeon World, seems reasonable, and the move may be Discern Realities (What here is not what it appears to be?), seems to fit.
When you closely study a situation or person, roll+Wis. ✴On a 10+, ask the GM 3 questions from the list below. ✴On a 7–9, ask 1.
Either way, take +1 forward when acting on the answers.
• What happened here recently?
• What is about to happen?
• What should I be on the lookout for?
• What here is useful or valuable to me?
• Who’s really in control here?
• What here is not what it appears to be?
Either way, take +1 forward when acting on the answers.
• What happened here recently?
• What is about to happen?
• What should I be on the lookout for?
• What here is useful or valuable to me?
• Who’s really in control here?
• What here is not what it appears to be?
Now you asked
As @AbdulAlhazred posted, there is no When you search for secret doors move.so if a character searches for a secret door and the roll succeeds, there then is one and the GM has to decide what is behind it?
Suppose the player has their PC closely study a situation, and the dice are rolled for Discern Realities. And it is as hit rather than a miss. The player gets to ask a question - maybe they ask "What here is useful or valuable to me?"
And maybe the GM responds by asking them, "Well, what would you find useful?" and they reply "A secret door!" And so the GM says, "As you study the wall closely, you notice hairline cracks, and a small bump that you're sure is the "latch" for this secret door."
But there are a millions and one other ways that this might go: the player asks a different question; the GM doesn't ask the player a question, or asks a different question; the GM responds with something different that might be valuable or useful.
So the answer to the question if a character searches for a secret door and the roll succeeds, there then is one is either No, or else The question doesn't quite make sense, because there is no "search for secret doors"move.