Gibbs search engine