Okay, if it's not working in script/console, then we've got a  
different problem.

Can you run rake ts:in, then in script/console, create a new instance  
and try the following (assuming production, and change model_name to  
your model name lowercase and underscored):

client = Riddle::Client.new "localhost", 11002
client.query "", "model_name_delta"

I've not used jruby, so no idea if that has an effect, but I'm sure  
someone else on this list is in the same environment?

Cheers

-- 
Pat

On 06/02/2009, at 4:52 AM, Steven Bristol wrote:

>
> Here is my sphinx.yml:
>
> development:
>  bin_path: "/usr/local/bin/"
>  allow_star: true
>  enable_star: true
>  min_prefix_len: 4
>  pid_file: "log/searchd.development.pid"
> staging:
>  port: 11001
>  enable_star: true
>
> production:
>  port: 11002
>  enable_star: true
>
>
> I've tried it with and without the trailing slash bin/ & bin.
>
> I get no output from script console.
>
> I'm running under jruby.
>
> => #<ThinkingSphinx::Configuration:0x6ade54f7 @bin_path="/usr/local/
> bin/", @source_options={}, @config_file="/Users/steve/rails/
> lessaccounting/config/development.sphinx.conf", @allow_star=true,
> @database_yml_file="/Users/steve/rails/lessaccounting/config/
> database.yml", @configuration=#<Riddle::Configuration:0x24dd1346
> @indexer=#<Riddle::Configuration::Indexer:0x2e1c6b92>,
> searchd#<Riddle::Configuration::Searchd:0x4bda55e4
> @address="127.0.0.1", @port=3312, @pid_file="log/
> searchd.development.pid", @log="/Users/steve/rails/lessaccounting/log/
> searchd.log", @query_log="/Users/steve/rails/lessaccounting/log/
> searchd.query.log">, indexes[], model_directories["/Users/steve/rails/
> lessaccounting/app/models/"], searchd_file_path"/Users/steve/rails/
> lessaccounting/db/sphinx/development", index_options
> {:charset_type 
> = 
> > 
> "utf 
> -8", :morphology=>"stem_en", :enable_star=>true, :min_prefix_len=>1},
> app_root"/Users/steve/rails/lessaccounting"
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to