Hi !

I'm stuck on a simple case and I can't really know why it doesn't work as 
expected.

I'm using a 5.2 rails app with TS 4.3.2 and Sphinx 3.1.

For my blog, here : https://milesandlove.com/photos, I'm indexing about 
6000 images with only one field which is basically a concatenate of some 
fields :

ThinkingSphinx::Index.define :image, :with => :real_time do
indexes searchable
has rank, :type => :integer, :as => :rank_sort
end.


Got a searchable method in my image.rb model as follow :

def searchable
[title, tag_list.map(&:downcase).join(" "), of, country, region, 
city].flatten.join(" ")
end


Thus , this searchable return this kind of content :

"Incroyables formations rocheuses paysages montagnes d'Allemagne Allemagne 
La Saxe Bastei" 
"Coucher de soleil, vallée de la mort manuelle deserts coucher de soleil du 
Chili Chili Nord du Chili Valle de la Luna" 
"Regard Granada Nicaragua manuelle du Nicaragua Nicaragua Granada et 
alentours Granada"

Now, my goal is to be able to search within this content with multiple 
words. 

If I try : "Seb Montagne*s*", it return results.

But if I try 'Seb Montagne", it return nothing,* even with enable star set 
to true*.

I can't understand how to make this work. Any idea? 

(as a note, sorry for the French words guys...)


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/thinking-sphinx/491ca9e5-c597-4836-9561-c93cd0cfffe1%40googlegroups.com.

Reply via email to