They’re output at a `debug` level, so they’re probably not on production… but 
should be in development.log by default, yes.

> On 18 Jan 2015, at 12:20 pm, Walter Lee Davis <[email protected]> wrote:
> 
> I was getting results that were missing any highlighted search terms. I'm not 
> seeing those queries at all -- would they be in development log only? I can 
> turn up the log level, but this is a very busy server.
> 
> Walter
> 
> On Jan 17, 2015, at 7:14 PM, Pat Allan <[email protected]> wrote:
> 
>> Hi Walter
>> 
>> It looks right to me, and I’m not spotting anything in the TS or Riddle code 
>> that suggests behaviour should be different. Are you getting an error when 
>> you include those options? Or just no results?
>> 
>> In your Rails log file, there should be a SphinxQL ‘CALL SNIPPETS’ statement 
>> for each excerpt generation call - can you share one of those queries here?
>> 
>> — 
>> Pat
>> 
>>> On 18 Jan 2015, at 7:39 am, Walter Lee Davis <[email protected]> wrote:
>>> 
>>> I had a working Rails 3.0 site with TS 2.0.10 that used the following 
>>> controller method to gather cross-model results:
>>> 
>>> def results
>>>  @results = ThinkingSphinx.search Riddle.escape(params[:q].to_s),
>>>  :page => params[:page],
>>>  :match_mode => :phrase,
>>>  :order => 'class_crc ASC, @relevance DESC',
>>>  :excerpt_options => {
>>>    :exact_phrase => true,
>>>    :limit    => 2000,
>>>    :around     => 20,
>>>    :force_all_words => true,
>>>    :chunk_separator => '</li><li>'
>>>  }.reject{ |r| r.class.to_s == 'NilClass' }
>>>  @hits = @results.total_entries rescue 0
>>> end
>>> 
>>> 
>>> In my current Rails 4.1 iteration of this application, I was not able to 
>>> get the exact_phrase and show_all_words keys to work at all. My controller 
>>> has those commented out, so the search results work, but are greedier than 
>>> I'd like them to be.
>>> 
>>> Is there anything new in this area that I have missed from your otherwise 
>>> great upgrade guide?
>>> 
>>> Thanks, 
>>> 
>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/thinking-sphinx.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
>> -- 
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/thinking-sphinx.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to