Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Thinking Sphinx plugin for xmlpipe2 data sources (Oracle, SQLite3, ...)
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
features_ext/support
lib/thinking_sphinx
tasks
vendor
.gitignore
.gitmodules
LICENSE
README.textile
Rakefile Initial commit
VERSION
features
ts-xml.gemspec

README.textile

Thinking Sphinx plugin for xmlpipe2 data sources

Supports Oracle 10g, MySQL and SQLite3.

Installation

You’ll need Thinking Sphinx 1.3.8 or later.

gem install ts-xml

In your environment.rb file, with the rest of your gem dependencies:

config.gem 'ts-xml', :lib => 'thinking_sphinx/xml'

And add the following lines to the bottom of your Rakefile:

begin
  require 'thinking_sphinx'
  require 'thinking_sphinx/tasks'
  require 'thinking_sphinx/xml'
  require 'thinking_sphinx/xml/tasks'
rescue LoadError
  puts 'Cannot load thinking sphinx tasks'
end

Usage

Just add those lines and it will use xmlpipe2 data source instead of SQL data source.

Limitations

Oracle CLOB data types are not supported and indexed fields are trimmed to 4000 bytes.

Copyright

Copyright © 2010 Edgars Beigarts, and released under an MIT Licence.

Something went wrong with that request. Please try again.