What is Algolia

Algolia empowers modern developers to build world class search and discovery experiences without any DevOps.
Libraries with every major language and framework make it easy to enrich your users' experiences. 

API-first search and discovery for your Ruby applications

Utilize the Algolia open-source Ruby gem to index your data, configure your search, add analytics and much more.  

Algolia is an API-First Search and Discovery platform that empowers builders to compose experiences at scale. Explore Algolia

Get started

INSTALL (GET A FREE ACCOUNT HERE.)


        
          
            

gem install algolia

INDEX


        
          
            

res = index.save_objects([{
  firstname: 'Jimmie',
  lastname:  'Barninger',
  objectID:  'myID1'
}, {
  firstname: 'Warren',
  lastname:  'Speach',
  objectID:  'myID2'
}])

SEARCH


        
          
            

index = client.init_index('contacts')

// Search without settings
res = index.search('query string')

// Search with settings
res = index.search('query string', {
  params: {
    attributesToRetrieve: 'firstname,lastname',
    hitsPerPage: 20
  }
})

Enable anyone to build great Search & Discovery