Wordforms -- supported?

Arron Washington's Avatar

Arron Washington

30 Jun, 2011 07:17 PM

Does Flying Sphinx support the wordforms option?

  1. 1 Posted by Arron Washingto... on 30 Jun, 2011 07:22 PM

    Arron Washington's Avatar

    My client is on the ceramic plan ($55/mo) if that makes any difference.

  2. Support Staff 2 Posted by Pat Allan on 01 Jul, 2011 12:01 AM

    Pat Allan's Avatar

    The short answer: no, they're not - I hadn't even thought about that.

    But now that you've raised it, I'd certainly like to. How would you expect to manage it? Should the flying-sphinx gem figure out which text files to send across to the Sphinx server so it has them as reference points? I guess that'd be painless - you don't need to do anything but set the wordforms setting as normal.

  3. 3 Posted by Arron Washingto... on 01 Jul, 2011 12:30 AM

    Arron Washington's Avatar

    Ideally FS would just parse my sphinx.yml file and whisk away the appropriate files to where-ever they have to go.

    I assumed FS supported wordforms (it's not listed under "Limitations"), so it's caught me in a bit of an awkward position at the moment. :)

  4. Support Staff 4 Posted by Pat Allan on 01 Jul, 2011 01:10 AM

    Pat Allan's Avatar

    Sorry about that. I probably won't get to it today, but it's on my list of things to do over the weekend. Will let you know!

  5. 5 Posted by Arron Washingto... on 01 Jul, 2011 01:33 AM

    Arron Washington's Avatar

    Most excellent, my good sir.

  6. Support Staff 6 Posted by Pat Allan on 02 Jul, 2011 10:37 AM

    Pat Allan's Avatar

    Hi Arron

    Okay, this should just work - provided you're using the latest flying-sphinx. Are you using Rails 3 and/or Bundler? If so, set the source to git://github.com/flying-sphinx/flying-sphinx.git. Otherwise, let me know and I'll push out a new version of the gem.

    And this is just wordforms at the moment, but I'll get it working soon for the other file-based settings as well (stopwords, etc). The server-side stuff is all prepped for that, so it's just a matter of extending flying-sphinx accordingly.

  7. Pat Allan closed this discussion on 02 Jul, 2011 10:37 AM.

  8. Arron Washington re-opened this discussion on 02 Jul, 2011 08:25 PM

  9. 7 Posted by Arron Washingto... on 02 Jul, 2011 08:25 PM

    Arron Washington's Avatar

    Rails 2 / Bundler.

    Thanks for the quick fix, Pat.

  10. Pat Allan closed this discussion on 03 Jul, 2011 03:28 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac