Thanks alot Pat!

That did the trick!


I can search for words that appears in links aswell.


Im very grateful :-)


Regards

Den mandag den 9. juni 2014 09.45.43 UTC+2 skrev Daniel Gottschalck:
>
> 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].
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