0

I have used Thinking sphinx in my project and have test cases using Rspec for my search functionalities using setup similar to here

I have also used extensive Delta indexing in my project. How can I test my delta indexed results using rspec here.

Community
  • 1
  • 1
Rahul garg
  • 9,202
  • 5
  • 34
  • 67

1 Answers1

0

Issue was due to https://github.com/pat/thinking-sphinx/issues/148 (delta indexing is by default disabled in rspec test cases)

I had to set the following flags true to run the test cases:

ThinkingSphinx.deltas_enabled  = true
ThinkingSphinx.updates_enabled = true
Rahul garg
  • 9,202
  • 5
  • 34
  • 67