Following up: the search results controller is as follows:
```
class ResultsController < ApplicationController
def index
@results = []
if params[:q].present?
@results = ThinkingSphinx.search(ThinkingSphinx::Query.escape(params[:q].to_s), :excerpts => {
# :limit => 1000,
:around => 40,
:force_all_words => true,
:chunk_separator => ' … '
}, page: params[:page])
@results.context[:panes] << ThinkingSphinx::Panes::ExcerptsPane
end
end
end
```
This is virtually unchanged for years.
Walter
> --
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
thinking-sphi...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/thinking-sphinx/73E33C92-C658-46E2-826F-1EEE831617E7%40wdstudio.com.