Sha256: 2ef1554af79eceaf144fb760bd745d5e4ec377d390ffe1272f5b6bb0b6ea27a4

Contents?: true

Size: 1.19 KB

Versions: 6

Compression:

Stored size: 1.19 KB

Contents

Feature: Searching within a single index
  In order to use Thinking Sphinx's core functionality
  A developer
  Should be able to search on a single index

  Scenario: Searching with alternative index
    Given Sphinx is running
    And I am searching on alphas
    When I order by value
    And I use index alternative_core
    Then I should get 7 results

  Scenario: Searching with default index
    Given Sphinx is running
    And I am searching on alphas
    When I order by value
    And I use index alpha_core
    Then I should get 10 results

  Scenario: Searching without specified index
    Given Sphinx is running
    And I am searching on alphas
    When I order by value
    Then I should get 10 results

  Scenario: Deleting instances from the core index
    Given Sphinx is running
    And I am searching on alphas

    When I create a new alpha named eleven
    And I process the alpha_core index
    And I process the alternative_core index
    And I wait for Sphinx to catch up
    And I clear the connection pool
    And I search for eleven
    Then I should get 1 result

    When I destroy alpha eleven
    And I wait for Sphinx to catch up
    And I search for eleven
    Then I should get 0 results

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
friendlyfashion-thinking-sphinx-2.0.14.4 features/searching_by_index.feature
friendlyfashion-thinking-sphinx-2.0.14.3 features/searching_by_index.feature
thinking-sphinx-2.1.0 features/searching_by_index.feature
thinking-sphinx-1.5.0 features/searching_by_index.feature
friendlyfashion-thinking-sphinx-2.0.14.2 features/searching_by_index.feature
friendlyfashion-thinking-sphinx-2.0.14.1 features/searching_by_index.feature