Sha256: 88d07d191183e6a25a70cb2dc0fcfc5869fffae153154409faf639e8e4b88a47

Contents?: true

Size: 1.9 KB

Versions: 13

Compression:

Stored size: 1.9 KB

Contents

Feature: Datetime Delta Indexing
  In order to have delta indexing on frequently-updated sites
  Developers
  Should be able to use an existing datetime column to track changes
  
  Scenario: Delta Index should not fire automatically
    Given Sphinx is running
    And I am searching on thetas
    When I search for one
    Then I should get 1 result
  
    When I change the name of theta one to eleven
    And I wait for Sphinx to catch up
    And I search for one
    Then I should get 1 result
    
    When I search for eleven
    Then I should get 0 results
  
  Scenario: Delta Index should fire when jobs are run
    Given Sphinx is running
    And I am searching on thetas
    When I search for two
    Then I should get 1 result
  
    When I change the name of theta two to twelve
    And I wait for Sphinx to catch up
    And I search for twelve
    Then I should get 0 results
    
    When I index the theta datetime delta
    And I wait for Sphinx to catch up
    And I search for twelve
    Then I should get 1 result
    
    When I search for two
    Then I should get 0 results
  
  Scenario: New records should be merged into the core index
    Given Sphinx is running
    And I am searching on thetas
    When I search for thirteen
    Then I should get 0 results
    
    When I create a new theta named thirteen
    And I search for thirteen
    Then I should get 0 results
    
    When I index the theta datetime delta
    And I wait for Sphinx to catch up
    And I search for thirteen
    Then I should get 1 result
    
    When I search for the document id of theta thirteen in the theta_core index
    Then it should exist
  
  Scenario: Deleting records
    Given Sphinx is running
    And I am searching on thetas
    When I search for three
    Then I should get 1 result
    
    When I delete the theta named three
    And I wait for Sphinx to catch up
    And I search for three
    Then I should get 0 results

Version data entries

13 entries across 13 versions & 6 rubygems

Version Path
ts-datetime-delta-2.0.2 features/datetime_deltas.feature
ts-datetime-delta-2.0.1 features/datetime_deltas.feature
ts-datetime-delta-2.0.0 features/datetime_deltas.feature
friendlyfashion-ts-datetime-delta-1.0.3 features/datetime_deltas.feature
ts-datetime-delta-1.0.3 features/datetime_deltas.feature
ts-datetime-delta-1.0.2 features/datetime_deltas.feature
ts-datetime-delta-1.0.1 features/datetime_deltas.feature
ts-datetime-delta-1.0.0 features/datetime_deltas.feature
thinking-sphinx-099-1.2.13 features/datetime_deltas.feature
thinking-sphinx-1.2.13 features/datetime_deltas.feature
moneypools-thinking-sphinx-1.2.13 features/datetime_deltas.feature
moneypools-thinking-sphinx-1.2.12 features/datetime_deltas.feature
warp-thinking-sphinx-1.2.12 features/datetime_deltas.feature