The search is performed by ads in the chosen category and geolocation and containing the searched words. The more search words are found in the ad, the higher the ad is in the search results. If there are few or no ads in the chosen category and geolocation, then ads from other categories and geolocations are added to the search results.