Hi Michael
If it's not currently working how you're trying, then it's not
supported, I'm afraid. It would be a nice little feature though - if
yo want to create a ticket on github for it, I'll definitely try to
implement it (no promises as to when, though).
http://github.com/freelancing-god/thinking-sphinx/issues
--
Pat
On 11/08/2009, at 1:59 AM, schlick wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---