Hi Pat The site is running on MySQL.
irb(main):001:0> Refinery::Page.search "pjecen" > > => [] > How deep the word is? Errh, explain please :) Thanks Den mandag den 9. juni 2014 17.15.30 UTC+2 skrev Pat Allan: > > Hi Daniel > > Can you provide an example of the search query you’re running? Also, are > you using MySQL for your database, or PostgreSQL? And how deep in the page > is ‘pjecen’ in the one that’s not being returned in search calls? MySQL’s > concatenation has some default limits that may be getting in the way. > > http://pat.github.io/thinking-sphinx/common_issues.html#mysql_large_fields > > — > Pat > > On 9 Jun 2014, at 9:45 am, Daniel Gottschalck <[email protected] > <javascript:>> wrote: > > Hi > > > I have integrated Thinking Sphinx in a Refinery CMS website project. > > > Created indices for Refinery::Pages > > ThinkingSphinx::Index.define 'refinery/page', :with => :active_record do >> indexes :slug, sortable: true >> indexes parts.body, as: :page_part_body, sortable: true >> indexes parts.translations.body, as: :translation_body, sortable: true >> where "searchable = '1'" >> end > > > "searchable" is a boolean i created on the Refinery::Page to define > whether a page can be searched on or not. > > > > After many hours of confusion, different settings etc, I still cannot > figure out, why Thinking Sphinx, won't search in link text, or search in > text on a particular page. > > > We have a word "pjecen" on a specific page, if we search for that word, > nothing happens. > > If we add that word to another page, reindex TS etc etc, it comes up at > search results. > > > I've added morphology and html_strip to the production conf: > > production: >> >> charset_type: utf-8 >> >> utf8: true >> >> morphology: stem_en, libstemmer_da >> >> html_strip: true >> >> > But I dont know if that would help anything. > > > > It's a very weird case, but very urgent. > > > Would be glad if anyone could pinpoint me in the right direction, thanks. > > > > Regards Daniel > > > -- > 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] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > 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.
