All Projects → elastic → enterprise-search-ruby

elastic / enterprise-search-ruby

Licence: Apache-2.0 license
Official Ruby client for Elastic Enterprise Search, App Search, and Workplace Search

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to enterprise-search-ruby

enterprise-search-php
Elastic Enterprise Search Official PHP Client
Stars: ✭ 20 (-9.09%)
Mutual labels:  enterprise-search, app-search, appsearch, elastic-enterprise-search, elastic-app-search, elastic-workplace-search, workplace-search
Typesense
Fast, typo tolerant, fuzzy search engine for building delightful search experiences ⚡ 🔍 ✨ An Open Source alternative to Algolia and an Easier-to-Use alternative to ElasticSearch.
Stars: ✭ 8,644 (+39190.91%)
Mutual labels:  enterprise-search, app-search
app-search-flask-app
This is an example of a Python Flask app with Elasticsearch/ Elastic App Search with respective Python Clients
Stars: ✭ 17 (-22.73%)
Mutual labels:  app-search, elastic-app-search
fess-site-search
Fess Site Search provides JavaScript files.
Stars: ✭ 22 (+0%)
Mutual labels:  enterprise-search
app-search-python
Elastic App Search Official Python Client
Stars: ✭ 34 (+54.55%)
Mutual labels:  elastic-app-search
app-search-javascript
Elastic App Search Official JavaScript Client
Stars: ✭ 56 (+154.55%)
Mutual labels:  elastic-app-search
app-search-magento
A first party module to integrate Elastic App Search in Magento 2.
Stars: ✭ 25 (+13.64%)
Mutual labels:  elastic-app-search
app-search-reference-ui-react
A generic UI for use with any App Search Engine
Stars: ✭ 54 (+145.45%)
Mutual labels:  elastic-app-search

Elastic Enterprise Search Client

build rubocop Ruby Style Guide

Official Ruby API client for Elastic Enterprise Search. Use this gem to integrate App Search and Workplace Search into your Ruby code.

Installation

Install the elastic-enterprise-search gem from Rubygems:

$ gem install elastic-enterprise-search

Or add it to your project's Gemfile:

gem 'elastic-enterprise-search', 'VERSION'

The Enterprise Search client is implemented with elastic-transport as the HTTP layer, which uses Faraday. Faraday supports several adapters and will use Net::HTTP by default. For optimal performance with the Enterprise Search API, we suggest using an HTTP library which supports persistent ("keep-alive") connections. For the standard Ruby implementation, this could be Net::HTTP::Persistent, patron or Typhoeus. For JRuby, Manticore is a great option as well. Require the library for the adapter in your code and then pass in the :adapter parameter to the client when you initialize it:

require 'elastic-enterprise-search'
require 'faraday/net_http_persistent'

client = Elastic::EnterpriseSearch::Client.new(adapter: :net_http_persistent)

If an adapter is not specified, the client will try to auto-detect available libraries and use the best available HTTP client.

Documentation

See the documentation for usage, code examples, configuring the client, and an API reference.

See code examples of usage for the Enterprise Search, App Search and Workplace Search APIs.

Compatibility

We follow Ruby’s own maintenance policy and officially support all currently maintained versions per Ruby Maintenance Branches.

Development

See CONTRIBUTING.

License

This software is licensed under the Apache 2 license. See NOTICE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].