Hi all,
I'm trying to set the extended match mode property in an index but it
doesn't seem to work. I seem only able to set the match mode as an
option to my search call.
This is what I'm trying so that the extended match mode is applied to
all searches performed on this index:
define_index do
set_property :match_mode => :extended
indexes title
indexes body
end
Instead of simply:
>> Post.search('hello | world')
I have to do this:
>> Post.search('hello | world', :match_mode => :extended)
I was using TS 1.1.21 but upgraded to 1.2.6 with the same result.
Is it possible to set the match mode in the index as above so that it
is applied to all searches performed on the index?
Thanks,
Michael.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---