Sha256: 3eb7338d9fb79cb63396428892a8d67ce13efa1f5f517ce4a2858313678d2a42

Contents?: true

Size: 1.34 KB

Versions: 1

Compression:

Stored size: 1.34 KB

Contents

# Sphinx Client API
#
# Author::    Dmytro Shteflyuk <mailto:kpumuk@kpumuk.info>.
# Copyright:: Copyright (c) 2006 — 2013 Dmytro Shteflyuk
# License::   Distributes under the same terms as Ruby
# Version::   2.1.1.3712
# Website::   http://kpumuk.info/projects/ror-plugins/sphinx
# Sources::   http://github.com/kpumuk/sphinx
#
# This library is distributed under the terms of the Ruby license.
# You can freely distribute/modify this library.
#
module Sphinx
  # Base class for all Sphinx errors
  class SphinxError < StandardError; end

  # Connect error occurred on the API side.
  class SphinxConnectError < SphinxError; end

  # Request error occurred on the API side.
  class SphinxResponseError < SphinxError; end

  # Internal error occurred inside searchd.
  class SphinxInternalError < SphinxError; end

  # Temporary error occurred inside searchd.
  class SphinxTemporaryError < SphinxError; end

  # Unknown error occurred inside searchd.
  class SphinxUnknownError < SphinxError; end
end

require 'net/protocol'
require 'socket'
require 'zlib'

path = File.dirname(__FILE__)
require "#{path}/sphinx/indifferent_access"
require "#{path}/sphinx/constants"
require "#{path}/sphinx/request"
require "#{path}/sphinx/response"
require "#{path}/sphinx/timeout"
require "#{path}/sphinx/buffered_io"
require "#{path}/sphinx/server"
require "#{path}/sphinx/client"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sphinx-2.1.1.3712 lib/sphinx.rb