Hello
My problem seems similar to the one described in issue
251<https://github.com/pat/thinking-sphinx/issues/251>.
But maybe it is rather a sphinx problem.
Loading development environment (Rails 3.1.3)
irb(main):001:0> quietly { Paper.search( 'Frühauf', :match_mode =>
:extended).count }
=> 7
irb(main):002:0> quietly { Paper.search( 'Frühauf*', :match_mode =>
:extended).count }
=> 7
irb(main):003:0> quietly { Paper.search( 'Früha*', :match_mode =>
:extended).count }
=> 0
irb(main):004:0> quietly { Paper.search( '*Frühauf*', :match_mode =>
:extended).count }
=> 0
irb(main):005:0> quietly { Paper.search( 'Frühauf', :match_mode =>
:extended, :star => true).count }
=> 0
irb(main):006:0> quietly { Paper.search( 'Frühauf', :match_mode =>
:extended, :star => /\p{Word}+/u ).count }
=> 0
irb(main):007:0> quietly { Paper.search( 'Droma', :match_mode =>
:extended).count }
=> 1
irb(main):008:0> quietly { Paper.search( '*Droma*', :match_mode =>
:extended).count }
=> 1
irb(main):009:0> quietly { Paper.search( 'Droma', :match_mode => :extended,
:star => true).count }
=> 1
irb(main):010:0> quietly { Paper.search( 'Drom', :match_mode => :extended,
:star => true).count }
=> 1
I running thinking-sphinx 2.0.13 with Sphinx 2.0.5-release (r3308). In my
config/sphinx.yml I have:
development:
enable_star: true
min_infix_len: 3
Anybody any ideas?
Regards, T.
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/thinking-sphinx/-/IZS9Rb7hRsgJ.
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.