主权项 |
1. A search system, comprising:
at least one memory operable to store program code; at least one processor operable to read the program code and operate as instructed by the program code, the program code including:
address management data storage code configured to cause the at least one processor to store, in an address management data storage, pieces of address element data in a hierarchical structure corresponding to a preset number of tiers, each address element data including an address element character string, the address element character string indicating a name of an element of an address, and an address element identification (ID) associated with the address element character string;search target data storage code configured to cause the at least one processor to store, in a search target data storage, pieces of search target data, each of which is a shop data comprising a shop ID of a shop and address element IDs corresponding to an address of the shop, the address element IDs being in a hierarchical structure of the preset number of tiers;acquisition code configured to cause the at least one processor to acquire geographic information designated by a user;search processing execution code configured to cause the at least one processor to identify, among the pieces of search target data stored in the search target data storage, pieces of the search target data associated with a geographic element group comprising the address element IDs that respectively match, in all the preset number of tiers, to the address element IDs corresponding to the geographic information acquired by the acquisition code;search result information output code configured to cause the at least one processor to output, under a condition that a number of the identified pieces of search target data is equal to or larger than a predetermined number, search result information comprising the identified pieces of search target data; andexcluding code configured to cause the at least one processor to exclude, under a condition that the number of the identified pieces of search target data is not equal to or larger than the predetermined number, an address element ID in a lowermost tier among the preset number of tiers from the address element IDs corresponding to the geographic information, wherein the search processing execution code causes the at least one processor to identify, under a condition that the address element ID in the lowermost tier is excluded by the excluding code, pieces of the search target data associated with the geographic element group comprising the address element IDs that respectively match, in all the preset number of tiers except for the lowermost tier, to the address element IDs after the exclusion additionally, wherein the search result information output code causes the at least one processor to output, under a condition that the address element ID in the lowermost tier is excluded by the excluding code, the search result information comprising both of the search target data identified based on the address element IDs before the exclusion and the search target data identified based on the address element IDs after the exclusion mixedly, and wherein the search result information output code causes the at least one processor to output, under a condition that the processing to identify pieces of the search target data associated with the address element IDs after the exclusion is executed, the search result information in which the search target data identified by the processing is arranged below the search target data identified before the execution of the processing. |