Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix search result paginationssd/search-pagination-fix | Steven Danna | 2015-10-09 | 1 | -1/+19 |
| | | | | | | | | | | | | | | | | | | | The start and rows parameter that are passed as part of the search request are passed directly to Solr on the backend. Results from Solr may contain deleted nodes no longer in the erchef database. Erchef will filter such nodes from the results. Thus, a user may receive fewer rows than they asked for. Incrementing 'start' only by the number of rows received will then result in the next Solr response overlapping the first, which can lead to duplicate results. In the case of a Solr results page that was completely filtered, it would lead to an infinite loop. This commit changes the code to always increment by the requested page size (args[:rows]) when it is non-nil. Incrementing by the length of the response set is still wrong in the case when the args[:rows] is nil, but the server doesn't give us anything else to increment by. Fixes #4027 | ||||
* | Test that search queries make progress | Steven Danna | 2015-03-25 | 1 | -0/+24 |
| | |||||
* | Build configurable search string.mcquin/bugfix/search-filtering | Claire McQuin | 2014-12-19 | 1 | -5/+5 |
| | |||||
* | Return all matches by default. | Claire McQuin | 2014-12-18 | 1 | -5/+5 |
| | |||||
* | Require a file that exists. | Claire McQuin | 2014-12-18 | 1 | -1/+1 |
| | |||||
* | No more should. | Claire McQuin | 2014-12-18 | 1 | -15/+15 |
| | |||||
* | Make search with filtering match partial_search. | Claire McQuin | 2014-12-18 | 1 | -34/+22 |
| | | | | * Updated search to use argument parameters. | ||||
* | Update to RSpec 3. | Claire McQuin | 2014-10-29 | 1 | -30/+30 |
| | |||||
* | Add InvalidSearchQuery exception for malformed searches. | Claire McQuin | 2014-09-04 | 1 | -2/+3 |
| | |||||
* | Fix typos, add partial_search spec. | Claire McQuin | 2014-09-04 | 1 | -46/+99 |
| | |||||
* | Updated based on mcq and others feedback | Scott Hain | 2014-09-04 | 1 | -250/+111 |
| | |||||
* | Refactored thanks to some great input | Scott Hain | 2014-09-04 | 1 | -0/+4 |
| | |||||
* | Updated based on awesome feedback | Scott Hain | 2014-09-04 | 1 | -11/+19 |
| | |||||
* | Finished up search with filtering | Scott Hain | 2014-09-04 | 1 | -20/+249 |
| | |||||
* | fix should_not raise_error(SpecificException) | Lamont Granquist | 2014-01-29 | 1 | -2/+2 |
| | |||||
* | s/mock\(/double(/g | Lamont Granquist | 2014-01-29 | 1 | -3/+3 |
| | |||||
* | s/stub!/stub/g | Lamont Granquist | 2014-01-29 | 1 | -2/+2 |
| | | | | fix deprecation warnings | ||||
* | Normalize whitespace on all files | Seth Vargo | 2013-09-26 | 1 | -3/+3 |
| | |||||
* | [OC-3564] move core Chef to the repo root \o/ \m/ | Seth Chisamore | 2012-10-30 | 1 | -0/+99 |
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo! |