Thread:Help talk:CirrusSearch/How the search API for media wiki works?/reply

When I run that query against the API I see the first 10 of 405 results for any pages containing the words "Taj", "Mahal", or "Agra" sorted by relevance. The API result matches the same query via the search box on the English Wikipedia for me. If you query instead for "Taj AND Mahal AND Agra" you will get only pages that contain all three words and en:Taj Mahal becomes the first result. The default "or" behavior and the resulting scoring may be what is confusing you in this case.