Sha256: bcf05fa8527f5f06a7b43c2a007aec15baae1b6d3116b317fa2cf5720497c47e

Contents?: true

Size: 1.23 KB

Versions: 5

Compression:

Stored size: 1.23 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 four to 13
    And I wait for Sphinx to catch up
    And I filter by 13 on value
    And I use index alpha_core
    Then I should get 1 result
    When I use index alternative_core
    Then I should get 1 result
    
    When I change the value of alpha four to 4
    And I wait for Sphinx to catch up
    And I filter by 13 on value
    And I use index alpha_core
    Then I should get 0 results
    When I use index alternative_core
    Then I should get 0 result

  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

5 entries across 5 versions & 2 rubygems

Version Path
thinking-sphinx-1.3.9 features/attribute_updates.feature
ts-xml-0.0.1 features/attribute_updates.feature
thinking-sphinx-1.3.8 features/attribute_updates.feature
thinking-sphinx-1.3.7 features/attribute_updates.feature
thinking-sphinx-1.3.6 features/attribute_updates.feature