I don't know if this has to do with your ultra-problem, but generally single
quotes come inside of double-quotes and the other way around should cause
errors. If your query literally is what you wrote below, I would try:

        @query = " '<phrase>' OR '<word>' "

Instead and see if that solves your problem. As for debugging UltraSphinx in
general, I'll let the veterans handle that one. :)

Smiling,

Ian


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
liquid_rails
Sent: Wednesday, April 23, 2008 4:50 PM
To: SD Ruby
Subject: [SDRuby] Debugging Ultrasphinx


Does anybody know a good way to debug ultrasphinx?  I am experiencing
phrases enclosed in double quotes as being ignored.

For example,

     @query = ' "<phrase>" OR "<word>" '

only returns entries containing the word, not the phrase.

Any suggestions would be appreciated.

Thanks!


--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to