Your search service should be defined in the usual way (see Implementing a Search with the Generic Search Server
In addition to the SearchService and SearchServiceField tables you must add definitions to the GSSMapperType and GSSEntity tables.