Sha256: 28292979152b28c0c60a12bf84f4d224cb5feb0b0e4dd02fdaa95395c75471d3
Contents?: true
Size: 1.58 KB
Versions: 3
Compression:
Stored size: 1.58 KB
Contents
Feature: Sphinx Scopes Scenario: Single Scope Given Sphinx is running And I am searching on people When I use the with_first_name scope set to "Andrew" Then I should get 7 results Scenario: Two Field Scopes Given Sphinx is running And I am searching on people When I use the with_first_name scope set to "Andrew" And I use the with_last_name scope set to "Byrne" Then I should get 1 result Scenario: Mixing Filter and Field Scopes Given Sphinx is running And I am searching on people When I use the with_first_name scope set to "Andrew" And I use the with_id scope set to 99 Then I should get 1 result Scenario: Mixing Field and ID Scopes Given Sphinx is running And I am searching on people When I use the with_first_name scope set to "Andrew" And I use the ids_only scope Then I should get 7 results And I should have an array of integers Scenario: Non-field/filter Scopes Given Sphinx is running And I am searching on people When I use the ids_only scope Then I should have an array of integers Scenario: Counts with scopes Given Sphinx is running And I am searching on people When I use the with_first_name scope set to "Andrew" And I am retrieving the scoped result count Then I should get a value of 7 Scenario: Counts with scopes and additional query terms Given Sphinx is running And I am searching on people When I use the with_first_name scope set to "Andrew" And I am retrieving the scoped result count for "Byrne" Then I should get a value of 1
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
thinking-sphinx-1.3.20 | features/sphinx_scopes.feature |
thinking-sphinx-2.0.0.rc2 | features/sphinx_scopes.feature |
thinking-sphinx-1.3.19 | features/sphinx_scopes.feature |