Actually the core services for distributed search are
implemented by middleware functions, containing
reference to relevant SQL server with similar queries. The
queries, of course, can be more complex. Such functions
are parts of Web Service application, providing services for
databases. This application can be included in a web site
for example or it can be an independent program