Sha256: d23369e0373c651974991577f43fce5757fa14e25c411a7addcd528e8424ebee

Contents?: true

Size: 1.59 KB

Versions: 13

Compression:

Stored size: 1.59 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 wait for Sphinx to catch up
    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

  Scenario: Updating boolean attribute in Sphinx
    Given Sphinx is running
    And I am searching on alphas
    When I filter by active alphas
    Then I should get 10 results
    
    When I flag alpha five as inactive
    And I wait for Sphinx to catch up
    And I filter by active alphas
    Then I should get 9 results

Version data entries

13 entries across 13 versions & 5 rubygems

Version Path
skalee-thinking-sphinx-1.3.14.2 features/attribute_updates.feature
skalee-thinking-sphinx-1.3.14.1 features/attribute_updates.feature
hawkerb-thinking-sphinx-1.3.18 features/attribute_updates.feature
thinking-sphinx-1.3.17 features/attribute_updates.feature
warp-thinking-sphinx-1.3.16 features/attribute_updates.feature
thinking-sphinx-1.3.16 features/attribute_updates.feature
hawkerb-thinking-sphinx-1.3.17 features/attribute_updates.feature
thinking-sphinx-1.3.15 features/attribute_updates.feature
hawkerb-thinking-sphinx-1.3.16 features/attribute_updates.feature
hawkerb-thinking-sphinx-1.3.15 features/attribute_updates.feature
hawkerb-thinking-sphinx-1.3.14 features/attribute_updates.feature
zipme-thinking-sphinx-1.3.14 features/attribute_updates.feature
thinking-sphinx-1.3.14 features/attribute_updates.feature