CPC G06F 16/903 (2019.01) [G06F 9/547 (2013.01); G06F 16/13 (2019.01); G06F 16/901 (2019.01); G06F 16/951 (2019.01)] | 20 Claims |
1. A method of indexing data for a search service, wherein the method is performed using one or more processors, the method comprising:
determining a schema of a data resource to be crawled;
determining that the schema has changed;
following the change of the schema, determining whether the changed schema is available at a search component of a platform that crawls the data resource;
in response to determining that the changed schema is available at the compatible with a search component of the platform, retrieving a first application programming interface (API) appropriate for the changed schema, wherein the first API interfaces between the data resource and the search component;
in response to determining that the changed schema is unavailable at the search component of the platform:
creating, in the search component, a schema mapping corresponding to the data resource; and
retrieving a second API appropriate for the schema mapping, wherein the second API interfaces between the data resource and the search component;
implementing the search component to determine one or more events associated with the data resource;
crawling, using the search component, the data resource based on the determined one or more events to obtain data; and
indexing the obtained data associated with said one or more events for access by the search component.
|