Yes, every time I try to search. BTW, it indexes without error.

Well, as I was writing this, I was about to ask how to restart sphinx,
but did a ps aux | grep sphinx and noticed searchd.  I stopped
searchd, but when I tried to restart it, I got errors about the config
file.  I used the -c switch to point to the config file, restarted
mongrel, and all seems fine.  I  added the path to the config file to
my sphinx.yaml so I guess it will find it in the future without
intervention by me?

On Jun 22, 9:54 pm, Pat Allan <[email protected]> wrote:
> Is this error happening constantly? What happens when you restart Sphinx?
>
> --
> Pat
>
> On 23/06/2011, at 1:18 AM, UnConundrum wrote:
>
>
>
> > I believe this would be it all:
>
> > Processing MatterHistoriesController#search (for 127.0.0.1 at
> > 2011-06-22 13:13:34) [POST]
> >  Parameters: {"matter_history_type_id"=>"1", "commit"=>"Filter
> > History", "action"=>"search", "amount"=>"recent",
> > "matter_id"=>"10912", "history_search_terms"=>"Susan",
> > "controller"=>"matter_histories", "_"=>""}
> >   [4;35;1mUser Columns (2.1ms) [0m    [0mSHOW FIELDS FROM `users` [0m
> >   [4;36;1mUser Load (0.5ms) [0m    [0;1mSELECT * FROM `users` WHERE
> > (`users`.`id` = 17 AND `users`.`is_active` = 1) LIMIT 1 [0m
> >   [4;35;1mIntranet Columns (1.6ms) [0m    [0mSHOW FIELDS FROM
> > `intranets` [0m
> >   [4;36;1mIntranet Load (0.3ms) [0m    [0;1mSELECT * FROM `intranets`
> > WHERE (`intranets`.`id` = 1)  [0m
> >   [4;35;1mMatter Columns (1.4ms) [0m    [0mSHOW FIELDS FROM
> > `matters` [0m
> >   [4;36;1mMatter Load (0.3ms) [0m    [0;1mSELECT * FROM `matters`
> > WHERE (`matters`.`id` = 10912 AND (`matters`.intranet_id = 1))  [0m
> >   [4;35;1musers_groups Columns (1.1ms) [0m    [0mSHOW FIELDS FROM
> > `users_groups` [0m
> >   [4;36;1mGroup Load (0.3ms) [0m    [0;1mSELECT * FROM `groups` INNER
> > JOIN `users_groups` ON `groups`.id = `users_groups`.group_id WHERE
> > (`users_groups`.user_id = 17 )  [0m
> >   [4;35;1mGroup Columns (0.9ms) [0m    [0mSHOW FIELDS FROM
> > `groups` [0m
> >   [4;36;1mSQL (2.2ms) [0m    [0;1mSHOW TABLES [0m
> >   [4;35;1mMatterHistory Columns (1.2ms) [0m    [0mSHOW FIELDS FROM
> > `matter_histories` [0m
> >   [4;32;1mSphinx [0m    [0mQuerying: 'Susan' [0m
>
> > Errno::ECONNRESET (Connection reset by peer - recvfrom(2)):
> >  riddle (1.3.2) lib/riddle/client.rb:639:in `recv'
> >  riddle (1.3.2) lib/riddle/client.rb:639:in `request'
> >  riddle (1.3.2) lib/riddle/client.rb:532:in `connect'
> >  riddle (1.3.2) lib/riddle/client.rb:619:in `request'
> >  riddle (1.3.2) lib/riddle/client.rb:226:in `run'
> >  riddle (1.3.2) lib/riddle/client.rb:333:in `query'
> >  /Users/wprince/.rvm/gems/ruby-1.8.7-p302/gems/thinking-sphinx-1.4.4/
> > lib/thinking_sphinx/search.rb:389:in `populate'
> >  /Users/wprince/.rvm/gems/ruby-1.8.7-p302/gems/thinking-sphinx-1.4.4/
> > lib/thinking_sphinx/search.rb:388:in `populate'
> >  /Users/wprince/.rvm/gems/ruby-1.8.7-p302/gems/thinking-sphinx-1.4.4/
> > lib/thinking_sphinx/search.rb:540:in `call'
> >  /Users/wprince/.rvm/gems/ruby-1.8.7-p302/gems/thinking-sphinx-1.4.4/
> > lib/thinking_sphinx/search.rb:540:in `retry_on_stale_index'
> >  /Users/wprince/.rvm/gems/ruby-1.8.7-p302/gems/thinking-sphinx-1.4.4/
> > lib/thinking_sphinx/search.rb:385:in `populate'
> >  /Users/wprince/.rvm/gems/ruby-1.8.7-p302/gems/thinking-sphinx-1.4.4/
> > lib/thinking_sphinx/search.rb:167:in `method_missing'
> >  app/controllers/matter_histories_controller.rb:165:in `search'
> >  app/controllers/matter_histories_controller.rb:164:in `search'
> >  app/controllers/matter_histories_controller.rb:162:in `search'
>
> > Rendered rescues/_trace (37.8ms)
> > Rendered rescues/_request_and_response (0.2ms)
> > Rendering rescues/layout (internal_server_error)
> >   [4;36;1mSQL (0.1ms) [0m    [0;1mSET SQL_AUTO_IS_NULL=0 [0m
>
> > --
> > 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 
> > athttp://groups.google.com/group/thinking-sphinx?hl=en.

-- 
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