Project

ts-xml

0.0
No commit activity in last 3 years
No release in over 3 years
Thinking Sphinx plugin for xmlpipe2 data sources (Oracle, SQLite3, ...)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.2.9
>= 0

Runtime

 Project Readme

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.