- Notifications
You must be signed in to change notification settings - Fork8
Official Ruby client for Elastic Enterprise Search, App Search, and Workplace Search
License
elastic/enterprise-search-ruby
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Warning
Enterprise Search will be discontinued in 9.0.
Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy:https://www.elastic.co/support/eolWe recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
Here are some useful links with more information:
- Enterprise Search FAQ:https://www.elastic.co/resources/enterprise-search/enterprise-search-faq
- Migrating to 9.x from Enterprise Search 8.x versions:https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html
Official Ruby API client forElastic Enterprise Search. Use this gem to integrate App Search and Workplace Search into your Ruby code.
Install theelastic-enterprise-search
gem fromRubygems:
$ gem install elastic-enterprise-search
Or add it to your project's Gemfile:
gem'elastic-enterprise-search','VERSION'
The Enterprise Search client is implemented withelastic-transport
as the HTTP layer, which usesFaraday. Faraday supports severaladapters and will useNet::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 beNet::HTTP::Persistent,patron orTyphoeus. 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.
See the documentation for usage, code examples, configuring the client, and an API reference.
See code examples of usage for theEnterprise Search,App Search andWorkplace Search APIs.
We follow Ruby’s own maintenance policy and officially support all currently maintained versions perRuby Maintenance Branches.
SeeCONTRIBUTING.
This software is licensed under theApache 2 license. SeeNOTICE.
About
Official Ruby client for Elastic Enterprise Search, App Search, and Workplace Search
Topics
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.