The model my search uses is for the public search to essentially be a loss leader for the search as a service - site owners can pay a small fee to access extra features such as being able to configure what is indexed, trigger reindexing on demand, etc. It also heavily downranks pages with adverts, to try to eliminate the incentive for spamdexing.