Sha256: 24925f851667393dc7397e4e7934bbd33368c7e71a5196a044a72a0d84359e5c

Contents?: true

Size: 929 Bytes

Versions: 1

Compression:

Stored size: 929 Bytes

Contents

h1. Thinking Sphinx plugin for xmlpipe2 data sources

Supports Oracle 10g, MySQL and SQLite3.

h2. Installation

You'll need Thinking Sphinx 1.3.8 or later.

<pre><code>gem install ts-xml</code></pre>

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

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

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

<pre><code>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</code></pre>

h2. Usage

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

h2. Limitations

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

h2. Copyright

Copyright (c) 2010 Edgars Beigarts, and released under an MIT Licence.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ts-xml-1.0.3 README.textile