For some reason, when I use spaces in my search term, no results are
returned. I'm assuming that I am specifying the search term
incorrectly, but I can't figure out how it should be. Here are some
examples:
Movie.search('Lion K') # no results
Movie.search('LionK') # returned the correct record
Movie.search('Lion K', :star => true) # no results
Movie.search('LionK', :star => true) # no results
I am using a bit of an older version of thinking-sphinx: 1.2.11, and
sphinx 0.9.8.1 and my sphinx.yml looks like:
development:
enable_star: 1
min_infix_len: 2
morphology: stem_en
and the define_index looks like:
define_index do
indexes :name, :sortable => true
has :deleted
set_property :delta => true
end
It all seems very simple, so I can't seem to figure out whats going
wrong. Any ideas? Thanks.
--
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.