I’m having some unexpected results:
results = MyModel.search(nil,without: {my_integer: [3]})
results.map(&: my_integer)
[1, 1, 1, 2, 1, 3, 1, 1, 1, 2, 1, 3, 1, 1, 1, 2, 1, 3, 1, 1]
I was expecting:
[1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1]
ThinkingSphinx::Index.define :my_model, with: :active_record, delta: true do
…..
has my_integer
end
Any help greatly appreciated,
Thanks in advance,
Mike
Tried with
Sphinx 2.2.11
thinking-sphinx-4.2.0
And
Sphinx 2.3.3
thinking-sphinx-5.4.0
--
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/fe62a51b-05fd-4447-bb06-d16c9f74fd5cn%40googlegroups.com.