Sha256: 4af73b1839a096fe59514bbb238b41b3dd3edb1adf9879d74b05f6068bdc8a4e

Contents?: true

Size: 1.04 KB

Versions: 14

Compression:

Stored size: 1.04 KB

Contents

Feature: Update attributes directly to Sphinx
  In order for updates to be more seamless
  The plugin
  Should update Sphinx's attributes where possible
  
  Scenario: Updating attributes in Sphinx without delta indexes
    Given Sphinx is running
    And I am searching on alphas
    When I filter by 3 on value
    Then I should get 1 result
    
    When I change the value of alpha two to 13
    And I wait for Sphinx to catch up    
    And I filter by 13 on value
    Then I should get 1 result
    
    When I change the value of alpha two to 3
    And I wait for Sphinx to catch up    
    And I filter by 13 on value
    Then I should get 0 results

  Scenario: Updating attributes in Sphinx with delta indexes
    Given Sphinx is running
    And I am searching on betas
    When I filter by 8 on value
    Then I should get 1 result
    
    When I change the value of beta eight to 18
    And I filter by 18 on value
    Then I should get 1 result
    
    When I search for the document id of beta eight in the beta_delta index
    Then it should not exist

Version data entries

14 entries across 14 versions & 4 rubygems

Version Path
thinking-sphinx-1.3.4 features/attribute_updates.feature
thinking-sphinx-1.3.3 features/attribute_updates.feature
thinking-sphinx-099-1.3.2 features/attribute_updates.feature
thinking-sphinx-1.3.2 features/attribute_updates.feature
moneypools-thinking-sphinx-1.3.1 features/attribute_updates.feature
thinking-sphinx-1.3.1 features/attribute_updates.feature
thinking-sphinx-099-1.3.1 features/attribute_updates.feature
thinking-sphinx-099-1.3.0 features/attribute_updates.feature
thinking-sphinx-1.3.0 features/attribute_updates.feature
thinking-sphinx-099-1.2.13 features/attribute_updates.feature
thinking-sphinx-1.2.13 features/attribute_updates.feature
moneypools-thinking-sphinx-1.2.13 features/attribute_updates.feature
moneypools-thinking-sphinx-1.2.12 features/attribute_updates.feature
warp-thinking-sphinx-1.2.12 features/attribute_updates.feature