File rubygem-thinking-sphinx.changes of Package rubygem-thinking-sphinx
-------------------------------------------------------------------
Tue Jul 16 10:00:55 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
- ## 5.6.0 - 2024-07-07
### Added
* Support for Manticore 6.0 ([#1242](https://github.com/pat/thinking-sphinx/pull/1242))
* `sphinx`-prefixed search methods, in case the standard `search` is overridden from something unrelated. ([#1265](https://github.com/pat/thinking-sphinx/pull/1265))
* `none` / `search_none` scopes that can be chained to searches and will return no results.
* Added `ThinkingSphinx::Processor#sync` to synchronise updates/deletions based on a real-time index's scope, by @akostadinov in [@1258](https://github.com/pat/thinking-sphinx/pull/1258).
### Changed
* Improved Rails 7.1 support, by @jdelstrother in [#1252](https://github.com/pat/thinking-sphinx/pull/1252).
### Fixed
* Handle both SQL and RT indices correctly for inheritance column checks, by @akostadinov in [#1249](https://github.com/pat/thinking-sphinx/pull/1249).
* Ensure tests and CI work with recent Manticore versions, by @jdelstrother in [#1263](https://github.com/pat/thinking-sphinx/pull/1263).
* Use `rm -rf` to delete test and temporary directories (instead of `rm -r`).
-------------------------------------------------------------------
Fri Nov 3 08:00:59 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>
- ## 5.5.1 - 2022-12-31
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.5.1)
### Changed
* Fixed total count of results in pagination information for Manticore 5.0+, by disabling the cutoff limit. ([#1239](https://github.com/pat/thinking-sphinx/pull/1239)).
## 5.5.0 - 2022-12-30
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.5.0)
### Added
* ThinkingSphinx::Processor, a public interface to perform index-related operations on model instances or model name/id combinations. In collaboration with @akostadinov ([#1215](https://github.com/pat/thinking-sphinx/issues/1215)).
### Changed
* Confirmed support by testing against Ruby 3.1 and 3.2 by @jdelStrother ([#1237](https://github.com/pat/thinking-sphinx/pull/1237)).
### Fixed
* Fix YAML loading, by @aepyornis ([#1217](https://github.com/pat/thinking-sphinx/pull/1217)).
* Further fixes for File.exist? instead of the deprecated File.exists?, by @funsim ([#1221](https://github.com/pat/thinking-sphinx/pull/1221)) and @graaf ([1233](https://github.com/pat/thinking-sphinx/pull/1233)).
* Treat unknown column errors as QueryErrors, so retrying the query occurs automatically.
* Fix MariaDB error handling.
-------------------------------------------------------------------
Tue Jan 25 07:39:06 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 5.4.0
see installed CHANGELOG.markdown
## 5.4.0 - 2021-12-21
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.4.0)
### Added
* Rails 7 support, including contributions from @anthonyshull in [#1205](https://github.com/pat/thinking-sphinx/pull/1205).
### Changed
* Confirmed support by testing against Manticore 4.0 and Sphinx 3.4.
### Fixed
* Include instance_exec in ThinkingSphinx::Search::CORE_METHODS by @jdelStrother in [#1210](https://github.com/pat/thinking-sphinx/pull/1210).
* Use File.exist? instead of the deprecated File.exists? ([#1211](https://github.com/pat/thinking-sphinx/issues/1211)).
## 5.3.0 - 2021-08-19
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.3.0)
### Changed
* StaleIdsExceptions now include a URL in their error message with recommendations on how to resolve the problem.
* Fire real-time callbacks on `after_commit` (including deletions) to ensure data is fully persisted to the database before updating Sphinx. More details in [#1204](https://github.com/pat/thinking-sphinx/pull/1204).
### Fixed
* Ensure Thinking Sphinx's ActiveRecord components are loaded by either Rails' after_initialise hook or ActiveSupport's on_load notification, because the order of these two events are not consistent.
* Remove `app/indices` from eager_load_paths in Rails 4.2 and 5, to match the behaviour in 6.
## 5.2.1 - 2021-08-09
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.2.1)
### Fixed
* Ensure ActiveRecord components are loaded for rake tasks, but only after the Rails application has initialised. More details in [#1199](https://github.com/pat/thinking-sphinx/issues/1199).
-------------------------------------------------------------------
Thu Jun 24 18:04:01 UTC 2021 - Stephan Kulow <coolo@suse.com>
updated to version 5.2.0
see installed CHANGELOG.markdown
## 5.2.0 - 2021-06-12
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.2.0)
### Added
* Confirmed support for Ruby 3.0.
* Orphaned records in real-time indices can now be cleaned up without running `rails ts:rebuild`. Disabled by default, can be enabled by setting `real_time_tidy` to true per environment in `config/thinking_sphinx.yml` (and will need `ts:rebuild` to restructure indices upon initial deploy). More details in [#1192](https://github.com/pat/thinking-sphinx/pull/1192).
### Fixed
* Avoid loading ActiveRecord during Rails initialisation so app configuration can still have an impact ([@jdelStrother](https://github.com/jdelStrother) in [#1194](https://github.com/pat/thinking-sphinx/pull/1194)).
* Remove `app/indices` (in both the Rails app and engines) from Rails' eager load paths, which was otherwise leading to indices being loaded more than once. (See [#1191](https://github.com/pat/thinking-sphinx/issues/1191) and [#1195](https://github.com/pat/thinking-sphinx/issues/1195)).
-------------------------------------------------------------------
Wed Jan 20 13:28:04 UTC 2021 - Stephan Kulow <coolo@suse.com>
updated to version 5.1.0
see installed CHANGELOG.markdown
## 5.1.0 - 2020-12-28
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.1.0)
### Added
* Support for Sphinx v3.3 and Manticore v3.5.
* Support for Rails 6.1 (via [joiner](https://rubygems.org/gems/joiner) v0.6.0).
### Changed
* `enable_star` is no longer available as a configuration option, as it's been enabled by default in Sphinx since v2.2.2, and is no longer allowed in Sphinx v3.3.1.
* All timestamp attributes are now considered plain integer values from Sphinx's perspective. Sphinx was already expecting integers, but since Sphinx v3.3.1 it doesn't recognise timestamps as a data type. There is no functional difference with this change - Thinking Sphinx was always converting times to their UNIX epoch integer values.
* Allow configuration of the maximum statement length ([@kalsan](https://github.com/kalsan) in [#1179](https://github.com/pat/thinking-sphinx/pull/1179)).
* Respect `:path` values to navigate associations for Thinking Sphinx callbacks on SQL-backed indices. Discussed in [#1182](https://github.com/pat/thinking-sphinx/issues/1182).
### Fixed
* Don't attempt to update delta flags on frozen model instances.
-------------------------------------------------------------------
Fri Sep 25 15:01:40 UTC 2020 - Stephan Kulow <coolo@suse.com>
updated to version 5.0.0
see installed CHANGELOG.markdown
## 5.0.0 - 2020-07-20
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.0.0)
### Added
* New interface for adding callbacks to indexed models (which is no longer done automatically). Discussed in [#1173](https://github.com/pat/thinking-sphinx/issues/1173) and committed via [#1175](https://github.com/pat/thinking-sphinx/pull/1175). **This is a breaking change - you will need to add these callbacks. See [the full release notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.0.0) for examples.**
* Fields and attributes can be overriden - whichever's defined last with a given name is the definition that's used. This is an edge case, but useful if you want to override any of the default fields/indices. (Requested by @kalsan in [#1172](https://github.com/pat/thinking-sphinx/issues/1172).)
* Custom index_set_class implementations can now expect the `:instances` option to be set alongside `:classes`, which is useful in cases to limit the indices returned if you're splitting index data for given classes/models into shards. (Introduced in PR [#1171](https://github.com/pat/thinking-sphinx/pull/1171) after discussions with @lunaru in [#1166](https://github.com/pat/thinking-sphinx/issues/1166).)
### Changed
* Sphinx 2.2.11 or newer is required, or Manticore 2.8.2 or newer.
* Ruby 2.4 or newer is required.
* Rails 4.2 or newer is required.
* Remove internal uses of `send`, replaced with `public_send` as that's available in all supported Ruby versions.
* Deletion statements are simplified by avoiding the need to calculate document keys/offsets (@njakobsen via [#1134](https://github.com/pat/thinking-sphinx/issues/1134)).
* Real-time data is deleted before replacing it, to avoid duplicate data when offsets change (@njakobsen via [#1134](https://github.com/pat/thinking-sphinx/issues/1134)).
* Use `reference_name` as per custom `index_set_class` definitions. Previously, the class method was called on `ThinkingSphinx::IndexSet` even if a custom subclass was configured. (As per discussinos with @kalsan in [#1172](https://github.com/pat/thinking-sphinx/issues/1172).)
-------------------------------------------------------------------
Mon Feb 10 15:55:42 UTC 2020 - Stephan Kulow <coolo@suse.com>
- updated to version 4.4.1
see installed CHANGELOG.markdown
## 4.4.1 - 2019-08-23
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v4.4.1)
### Changed
* Automatically remove `app/indices` from Zeitwerk's autoload paths in Rails 6.0 onwards (if using Zeitwerk as the autoloader).
## 4.4.0 - 2019-08-21
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v4.4.0)
### Added
* Confirmed Rails 6.0 support.
* Added ability to have custom real-time index processors (which handles all indices) and populators (which handles a particular index). These are available to get/set via `ThinkingSphinx::RealTime.processor` and `ThinkingSphinx::RealTime.populator` (and discussed in more detail in the [release notes](https://github.com/pat/thinking-sphinx/releases/tag/v4.4.0)).
### Changed
* Improve failure message when tables don't exist for models associated with Sphinx indices ([Kiril Mitov](https://github.com/thebravoman) in [#1139](https://github.com/pat/thinking-sphinx/pull/1139)).
### Fixed
* Injected has-many/habtm collection search calls as default extensions to associations in Rails 5+, as it's a more reliable approach in Rails 6.0.0.
-------------------------------------------------------------------
Fri Jul 19 09:41:44 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to version 4.3.2
see installed CHANGELOG.markdown
## 4.3.2 - 2019-07-10
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v4.3.2)
### Fixed
* Reverted loading change behaviour from v4.3.1 for Rails v5 ([Eduardo J.](https://github.com/eduardoj) in [#1138](https://github.com/pat/thinking-sphinx/pull/1138)).
## 4.3.1 - 2019-06-27
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v4.3.1)
### Fixed
* Fixed loading of index files to work with Rails 6 and Zeitwerk ([#1137](https://github.com/pat/thinking-sphinx/issues/1137)).
## 4.3.0 - 2019-05-18
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v4.3.0)
### Added
* Allow overriding of Sphinx's running state, which is useful when Sphinx commands are interacting with a remote Sphinx daemon. As per discussions in [#1131](https://github.com/pat/thinking-sphinx/pull/1131).
* Allow skipping of directory creation, as per discussions in [#1131](https://github.com/pat/thinking-sphinx/pull/1131).
### Fixed
* Use ActiveSupport's lock monitor where possible (Rails 5.1.5 onwards) to avoid database deadlocks. Essential investigation by [Jonathan del Strother](https://github.com/jdelstrother) ([#1132](https://github.com/pat/thinking-sphinx/pull/1132)).
* Allow facet searching on distributed indices ([#1135](https://github.com/pat/thinking-sphinx/pull/1132)).
-------------------------------------------------------------------
Thu Mar 14 11:07:27 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to version 4.2.0
see installed CHANGELOG.markdown
## 4.2.0 - 2019-03-09
### Added
* Allow changing the default encoding for MySQL database connections from utf8 to something else via the `mysql_encoding` setting in `config/thinking_sphinx.yml`. In the next significant release, the default will change to utf8mb4 (which is supported in MySQL 5.5.3 and newer).
* Added Rails 6.0 and Manticore 2.8 to the test matrix.
### Changed
* Use Arel's SQL literals for generated order clauses, to avoid warnings from Rails 6.
### Fixed
* Fix usage of alternative primary keys in update and deletion callbacks and attribute access.
* Ensure `respond_to?` takes Sphinx scopes into account ([Jonathan del Strother](https://github.com/jdelstrother) in [#1124](https://github.com/pat/thinking-sphinx/pull/1124)).
* Add `:excerpts` as a known option for search requests.
* Fix depolymorphed association join construction with Rails 6.0.0.beta2.
* Reset ThinkingSphinx::Configuration's cached values when Rails reloads, to avoid holding onto stale references to ActiveRecord models ([#1125](https://github.com/pat/thinking-sphinx/issues/1125)).
* Don't join against associations in `sql_query` if they're only used by query-sourced properties ([Hans de Graaff](https://github.com/graaff) in [#1127](https://github.com/pat/thinking-sphinx/pull/1127)).
-------------------------------------------------------------------
Mon Jan 14 14:00:10 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to version 4.1.0
see installed CHANGELOG.markdown
## 4.1.0 - 2018-12-28
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v4.1.0)
### Added
* The `:sql` search option can now accept per-model settings with model names as keys. e.g. `ThinkingSphinx.search "foo", :sql => {'Article' => {:include => :user}}` (Sergey Malykh in [#1120](https://github.com/pat/thinking-sphinx/pull/1120)).
### Changed
* Drop MRI 2.2 from the test matrix, and thus no longer officially supported (though the code will likely continue to work with 2.2 for a while).
* Added MRI 2.6, Sphinx 3.1 and Manticore 2.7 to the test matrix.
### Fixed
* Real-time indices now work with non-default integer primary keys (alongside UUIDs or other non-integer primary keys).
-------------------------------------------------------------------
Tue Apr 10 14:25:16 UTC 2018 - factory-auto@kulow.org
- updated to version 4.0.0
HISTORY removed upstream
-------------------------------------------------------------------
Fri Sep 29 08:37:50 UTC 2017 - mdeniz@suse.com
- updated to version 3.4.2
* [CHANGE] Allow use of deletion callbacks for rollback events.
* [CHANGE] Remove extra deletion code in the Populator - it's also being done by the real-time rake interface.
* [FIX] Real-time callback syntax for namespaced models accepts a string (as was already documented).
* [FIX] Fix up logged warnings (and avoiding overwriting the existing warn method).
* [FIX] Add missing search options to known values to avoid incorrect warnings.
-------------------------------------------------------------------
Tue Aug 29 11:36:09 UTC 2017 - mschnitzer@suse.com
- updated to version 3.4.1
see installed HISTORY
2017-08-29: 3.4.1
* [CHANGE] Treat "Lost connection to MySQL server" as a connection error (Manuel Schnitzer).
* [FIX] Index normalisation will now work even when index model tables don't exist.
2017-08-28: 3.4.0
* [CHANGE] Delta callback logic now prioritises checking for high level settings rather than model changes.
* [FIX] Index normalisation now occurs consistently, and removes unneccesary sphinx_internal_class_name fields from real-time indices.
* [FEATURE] Rake tasks are now unified, so the original tasks will operate on real-time indices as well.
* [FEATURE] Output warnings when unknown options are used in search calls.
* [CHANGE] Allow for unsaved records when calculating document ids (and return nil).
* [CHANGE] Display SphinxQL deletion statements in the log.
* [CHANGE] Add support for Ruby's frozen string literals feature.
* [FIX] Fix Sphinx connections in JRuby.
* [FIX] Fix long SphinxQL query handling in JRuby.
* [FEATURE] Allow generation of a single real-time index (Tim Brown).
* [FIX] Always close the SphinxQL connection if Innertube's asking (@cmaion).
* [CHANGE] Use saved_changes if it's available (in Rails 5.1+).
* [FEATURE] Automatically use UTF8 in Sphinx for encodings that are extensions of UTF8.
* [FIX] Get bigint primary keys working in Rails 5.1.
* [CHANGE] Set a default connection timeout of 5 seconds.
* [FIX] Fix handling of attached starts of Sphinx (via Henne Vogelsang).
* [FIX] Fix multi-field conditions.
* [FEATURE] Basic type checking for attribute filters.
* [CHANGE] Don't search multi-table inheritance ancestors.
* [FIX] Use the base class of STI models for polymorphic join generation (via Andrés Cirugeda).
* [CHANGE] Handle non-computable queries as parse errors.
* [FIX] Ensure ts:index now respects rake silent/quiet flags.
Remove nodetach.patch:
* The code was dropped by the author.
Remove SLE-11-mysql-error.patch:
* Implemented in the source code (https://github.com/pat/thinking-sphinx/commit/937ffa04ba4f21acd90f1047e6840df6d3eb3723)
-------------------------------------------------------------------
Mon Mar 13 10:23:28 UTC 2017 - hvogel@suse.com
- Add a patch from git, fixing foreground starting
-------------------------------------------------------------------
Tue Dec 13 05:48:12 UTC 2016 - coolo@suse.com
- updated to version 3.3.0
see installed HISTORY
2016-12-13: 3.3.0
* [FEATURE] Real-time callbacks can now be used with after_commit hooks if that's preferred over after_save.
* [CHANGE] Only toggle the delta value if the record has changed or is new (rather than on every single save call).
* [CHANGE] Delta indexing is now quiet by default (rather than verbose).
* [FIX] Explicit source method in the SQLQuery Builder instead of relying on method missing, thus avoiding any global methods named 'source' (Asaf Bartov).
* [CHANGE] Use Riddle's reworked command interface for interacting with Sphinx's command-line tools.
* [CHANGE] Respect Rake's quiet and silent flags for the Thinking Sphinx rake tasks.
* [CHANGE] ts:start and ts:stop tasks default to verbose.
* [FIX] Load indices before deleting index files, to ensure the files are actually found and deleted.
* [FIX] Avoid loading ActiveRecord earlier than necessary. This avoids loading Rails out of order, which caused problems with Rails 5.
* [FEATURE] Allow for custom batch sizes when populating real-time indices.
* [FIX] Handle queries that are too long for Sphinx.
* [FIX] Improve Rails 5 / JRuby support.
* [CHANGE] Sort engine paths for loading indices to ensure they're consistent.
* [CHANGE] Custom exception class for invalid database adapters.
* [FIX] Fixed handling of multiple field tokens in wildcarding logic.
* [CHANGE] Memoize the default primary keys per context.
* [FIX] Ensure custom primary key columns are handled consistently (Julio Monteiro).
-------------------------------------------------------------------
Sat May 14 04:53:38 UTC 2016 - coolo@suse.com
- updated to version 3.2.0
see installed HISTORY
2016-05-13: 3.2.0
* [FIX] Ensure SQL table aliases are reliable for SQL-backed index queries.
* [FEATURE] Add JSON attribute support for real-time indices.
* [FEATURE] Add ability to disable *all* Sphinx-related callbacks via ThinkingSphinx::Callbacks.suspend! and ThinkingSphinx::Callbacks.resume!. Particularly useful for unit tests.
* [FEATURE] Add native OutOfBoundsError for search queries outside the pagination bounds.
* [CHANGE] Improved error messages for duplicate property names and missing columns.
* [FIX] Fixed mysql2 compatibility for memory references (Roman Usherenko).
* [FIX] Fixed JRuby compatibility with camelCase method names (Brandon Dewitt).
* [FEATURE] Support MySQL SSL options on a per-index level (@arrtchiu).
* [CHANGE] Don't populate search results when requesting just the count values (Andrew Roth).
* [CHANGE] Reset delta column before core indexing begins (reverting behaviour introduced in 3.1.0). See issue #958 for further discussion.
* [FEATURE] Allow for different indexing strategies (e.g. all at once, or one by one).
* [FIX] Fix stale id handling for multiple search contexts (Jonathan del Strother).
* [CHANGE] Use Sphinx's bulk insert ability (Chance Downs).
* [CHANGE] Reduce memory/object usage for model references (Jonathan del Strother).
* [CHANGE] Disable deletion callbacks when real-time indices are in place and all other real-time callbacks are disabled.
* [FIX] Handle quoting of namespaced tables (Roman Usherenko).
* [FIX] Make preload_indices thread-safe.
* [FIX] Improved handling of marshalled/demarshalled search results.
* [FEATURE] Allow rand_seed as a select option (Mattia Gheda).
* [FEATURE] Add primary_key option for index definitions (Nathaneal Gray).
* [FEATURE] Add ability to start searchd in the foreground (Andrey Novikov).
* [CHANGE] Only use ERB to parse the YAML file if ERB is loaded.
-------------------------------------------------------------------
Wed Mar 23 12:07:48 UTC 2016 - olaf@aepfle.de
- Force fixed timestamps for patched gems (bsc#916047)
-------------------------------------------------------------------
Tue Jun 2 04:39:30 UTC 2015 - coolo@suse.com
- updated to version 3.1.4
see installed HISTORY
2015-06-01: 3.1.4
* [FIX] Kaminari expects prev_page to be available.
* [CHANGE] Add a contributor code of conduct.
* [FEATURE] Add JSON as a Sphinx type for attributes (Daniel Vandersluis).
* [CHANGE] Remove polymorphic association and HABTM query support (when related to Thinking Sphinx) when ActiveRecord 3.2 is involved.
* [FIX] Don't try to delete guard files if they don't exist (@exAspArk).
* [FEATURE] minimal_group_by? can now be set in config/thinking_sphinx.yml to automatically apply to all index definitions.
* [FIX] Handle database settings reliably, now that ActiveRecord 4.2 uses strings all the time.
* [FIX] More consistent with escaping table names.
* [CHANGE] Remove default charset_type - no longer required for Sphinx 2.2.
* [FIX] Bug fix for association creation (with polymophic fields/attributes).
* [CHANGE] Removing sql_query_info setting, as it's no longer used by Sphinx (nor is it actually used by Thinking Sphinx).
-------------------------------------------------------------------
Mon Feb 9 08:01:18 UTC 2015 - coolo@suse.com
- updated to version 3.1.3
* [CHANGE] Log excerpt SphinxQL queries just like the search queries.
* [CHANGE] Load Railtie if Rails::Railtie is defined, instead of just Rails (Andrew Cone).
* [CHANGE] Convert raw Sphinx results to an array when querying (Bryan Ricker).
* [FIX] Generate de-polymorphised associations properly for Rails 4.2
* [FIX] Use reflect_on_association instead of reflections, to stick to the public ActiveRecord::Base API.
* [FIX] Don't load ActiveRecord early - fixes a warning in Rails 4.2.
* [FEATURE] Allow for custom offset references with the :offset_as option - thus one model across many schemas with Apartment can be treated differently.
* [FEATURE] Allow for custom IndexSet classes.
* [FIX] Don't double-up on STI filtering, already handled by Rails.
* [CHANGE] Add bigint support for real-time indices, and use bigints for the sphinx_internal_id attribute (mapped to model primary keys) (Chance Downs).
2014-11-04: 3.1.2
* [CHANGE] regenerate task now only deletes index files for real-time indices.
* [CHANGE] Raise an exception when a populated search query is modified (as it can't be requeried).
* [FEATURE] Allow for custom paths for index files using :path option in the ThinkingSphinx::Index.define call.
* [FIX] Ensure indexing guard files are removed when an exception is raised (Bobby Uhlenbrock).
* [FIX] Don't update real-time indices for objects that are not persisted (Chance Downs).
* [FEATURE] Allow the binlog path to be an empty string (Bobby Uhlenbrock).
* [FIX] Use STI base class for polymorphic association replacements.
* [FIX] Convert database setting keys to symbols for consistency with Rails (@dimko).
* [FIX] Field weights and other search options are now respected from set_property.
* [CHANGE] Log indices that aren't processed due to guard files existing.
* [FEATURE] Add status task to report on whether Sphinx is running.
* [FIX] Models with more than one index have correct facet counts (using Sphinx 2.1.x or newer).
* [FEATURE] Real-time index callbacks can take a block for dynamic scoping.
* [FIX] Some association fixes for Rails 4.1.
* [CHANGE] Paginate records by 1000 results at a time when flagging as deleted.
* [CHANGE] Default the Capistrano TS Rails environment to use rails_env, and then fall back to stage.
* [CHANGE] rebuild task uses clear between stopping the daemon and indexing.
* [FIX] Clear connections when raising connection errors.
* [FEATURE] Allow casting of document ids pre-offset as bigints (via big_documents_id option).
-------------------------------------------------------------------
Tue Oct 21 08:45:48 UTC 2014 - adrian@suse.de
- support SLES 11 mysql error string
-------------------------------------------------------------------
Mon Oct 13 07:19:01 UTC 2014 - adrian@suse.de
- adapt to new rubygem packaging style
-------------------------------------------------------------------
Mon Apr 21 17:09:37 UTC 2014 - coolo@suse.com
- updated to version 3.1.1
* [CHANGE] Include full statements when query execution errors are raised (uglier, but more useful when debugging).
* [FEATURE] Allow for common section in generated Sphinx configuration files for Sphinx 2.2.x (disabled by default, though) (Trevor Smith).
* [FEATURE] Basic support for HABTM associations and MVAs with query/ranged-query sources.
* [CHANGE] Connection error messages now mention Sphinx, instead of just MySQL.
* [FIX] Don't apply attribute-only updates to real-time indices.
* [FIX] Don't instantiate blank strings (via inheritance type columns) as constants.
* [FIX] Don't presume all indices for a model have delta pairs, even if one does.
* [CHANGE] Raise an exception when a referenced column does not exist.
* [CHANGE] Capistrano tasks use thinking_sphinx_rails_env (defaults to standard environment) (Robert Coleman).
* [FIX] Always use connection options for connection information.
* [FIX] respond_to? works reliably with masks (Konstantin Burnaev).
* [FEATURE] Real-time indices callbacks can be disabled (useful for unit tests).
* [FEATURE] ThinkingSphinx::Test has a clear method and no-index option for starting for real-time setups.
* [FIX] Avoid null values in MVA query/ranged-query sources.
* [CHANGE] Alias group and count columns for easier referencing in other clauses.
* [FEATURE] Allow disabling of distributed indices.
* [FIX] Don't send unicode null characters to real-time Sphinx indices.
* [FIX] :populate option is now respected for single-model searches.
* [FIX] :thinking_sphinx_roles is now used consistently in Capistrano v3 tasks.
* [CHANGE] Log real-time index updates (Demian Ferreiro).
* [FIX] Only expand log directory if it exists.
* [FIX] Handle JDBC connection errors appropriately (Adam Hutchison).
* [FIX] Fixing wildcarding of Unicode strings.
* [CHANGE] All indices now respond to a public attributes method.
* [FIX] Improved handling of association searches with real-time indices, including via has_many :though associations (Rob Anderton).
-------------------------------------------------------------------
Thu Feb 6 18:00:10 UTC 2014 - coolo@suse.com
- updated to version 3.1.0
* [CHANGE] Updating Riddle requirement to >= 1.5.10.
* [CHANGE] Extracting join generation into its own gem: Joiner.
* [FEATURE] Support for Capistrano v3 (Alexander Tipugin).
* [FEATURE] JRuby support (with Sphinx 2.1 or newer).
* [CHANGE] Geodist calculation is now prepended to the SELECT statement, so it can be referred to by other dynamic attributes.
* [FIX] Indices will be detected in Rails engines upon configuration.
* [FEATURE] Support for Sphinx 2.2.x's HAVING and GROUP N BY SphinxQL options.
* [FEATURE] Adding max_predicted_time search option (Sphinx 2.2.x).
* [FEATURE] Wildcard/starring can be applied directly to strings using ThinkingSphinx::Query.wildcard('pancakes'), and escaping via ThinkingSphinx::Query.escape('pancakes').
* [CHANGE] Auto-wildcard/starring (via :star => true) now treats escaped characters as word separators.
* [FEATURE] Capistrano recipe now includes tasks for realtime indices.
* [CHANGE] Capistrano recipe no longer automatically adds thinking_sphinx:index and thinking_sphinx:start to be run after deploy:cold.
* [CHANGE] UTF-8 forced encoding is now disabled by default (in line with Sphinx 2.1.x).
* [CHANGE] Sphinx functions are now the default, instead of the legacy special variables (in line with Sphinx 2.1.x).
* [CHANGE] Rails 3.1 is no longer supported.
* [CHANGE] MRI 1.9.2 is no longer supported.
* [FIX] Destroy callbacks are ignored for non-persisted objects.
* [FEATURE] :group option within :sql options in a search call is passed through to the underlying ActiveRecord relation (Siarhei Hanchuk).
* [FIX] Blank STI values are converted to the parent class in Sphinx index data (Jonathan Greenberg).
* [CHANGE] Insist on at least * for SphinxQL SELECT statements.
* [FIX] Track indices on parent STI models when marking documents as deleted.
* [FEATURE] Persistent connections can be disabled if you wish.
* [FIX] Separate per_page/max_matches values are respected in facet searches (Timo Virkkala).
* [FIX] Don't split function calls when casting timestamps (Timo Virkalla).
* [FEATURE] Track what's being indexed, and don't double-up while indexing is running. Single indices (e.g. deltas) can be processed while a full index is happening, though.
* [FEATURE] Pass through :delta_options to delta processors (Timo Virkalla).
* [FEATURE] All delta records can have their core pairs marked as deleted after a suspended delta (use ThinkingSphinx::Deltas.suspend_and_update instead of ThinkingSphinx::Deltas.suspend).
* [CHANGE] Reset the delta column to true after core indexing is completed, instead of before, and don't filter out delta records from the core source.
* [FEATURE] Set custom database settings within the index definition, using the set_database method. A more sane approach with multiple databases.
* [CHANGE] Provide a distributed index per model that covers both core and delta indices.
-------------------------------------------------------------------
Thu Oct 31 05:54:35 UTC 2013 - coolo@suse.com
- updated to version 3.0.6
* [FEATURE] Raise an error if no indices match the search criteria (Bryan Ricker).
* [FEATURE] skip_time_zone setting is now available per environment via config/thinking_sphinx.yml to avoid the sql_query_pre time zone command.
* [CHANGE] Updating Riddle dependency to be >= 1.5.9.
* [FEATURE] Added new search options in Sphinx 2.1.x.
* [FEATURE] Added ability to disable UTF-8 forced encoding, now that Sphinx 2.1.2 returns UTF-8 strings by default. This will be disabled by default in Thinking Sphinx 3.1.0.
* [FEATURE] Added ability to switch between Sphinx special variables and the equivalent functions. Sphinx 2.1.x requires the latter, and that behaviour will become the default in Sphinx 3.1.0.
* [FIX] Cast every column to a timestamp for timestamp attributes with multiple columns.
* [CHANGE] Separated directory preparation from data generation for real-time index (re)generation tasks.
* [CHANGE] Have tests index UTF-8 characters where appropriate (Pedro Cunha).
* [FIX] Don't use Sphinx ordering if SQL order option is supplied to a search.
* [CHANGE] Always use DISTINCT in group concatenation.
* [CHANGE] Sphinx connection failures now have their own class, ThinkingSphinx::ConnectionError, instead of the standard Mysql2::Error.
* [FIX] Custom middleware and mask options now function correctly with model-scoped searches.
* [FEATURE] Adding search_for_ids on scoped search calls.
* [CHANGE] Don't clobber custom :select options for facet searches (Timo Virkkala).
* [CHANGE] Automatically load Riddle's Sphinx 2.0.5 compatability changes.
* [FIX] Suspended deltas now no longer update core indices as well.
* [CHANGE] Realtime fields and attributes now accept symbols as well as column objects, and fields can be sortable (with a _sort prefix for the matching attribute).
* [FEATURE] MySQL users can enable a minimal GROUP BY statement, to speed up queries: set_property :minimal_group_by? => true.
* [CHANGE] Insist on the log directory existing, to ensure correct behaviour for symlinked paths. (Michael Pearson).
* [FIX] Use alphabetical ordering for index paths consistently (@grin).
* [FIX] Convert very small floats to fixed format for geo-searches.
* [CHANGE] Rake's silent mode is respected for indexing (@endoscient).
-------------------------------------------------------------------
Fri Aug 30 10:00:28 UTC 2013 - coolo@suse.com
- updated to version 3.0.5
* [CHANGE] Updating Riddle dependency to be >= 1.5.8.
* [FEATURE] Allow scoping of real-time index models.
* [CHANGE] Real-time index population presentation and logic are now separated.
* [CHANGE] Using the connection pool for update callbacks, excerpts, deletions.
* [FIX] Respect existing sql_query_range/sql_query_info settings.
* [CHANGE] Don't add the sphinx_internal_class_name unless STI models are indexed.
* [FIX] Don't add select clauses or joins to sql_query if they're for query/ranged-query properties.
* [CHANGE] Use Mysql2's reconnect option and have it turned on by default.
* [FIX] Set database timezones as part of the indexing process.
* [CHANGE] Improved auto-starring with escaped characters.
* [FIX] Chaining scopes with just options works again.
-------------------------------------------------------------------
Wed Jul 24 08:40:44 UTC 2013 - coolo@suse.com
- updated to version 3.0.4
* [CHANGE] Updating Riddle dependency to be >= 1.5.7.
* [FEATURE] ts:regenerate rake task for rebuilding Sphinx when realtime indices are involved.
* [FEATURE] ts:clear task removes all Sphinx index and binlog files.
* [CHANGE] Glaze now responds to respond_to? (@groe).
* [FEATURE] Facet search calls now respect the limit option (which otherwise defaults to max_matches) (Demian Ferreiro).
* [FEATURE] Excerpts words can be overwritten with the words option (@groe).
* [FIX] Empty queries with the star option set to true are handled gracefully.
* [CHANGE] Deleted ActiveRecord objects are deleted in realtime indices as well.
* [CHANGE] Realtime callbacks are no longer automatically added, but they're now more flexible (for association situations).
* [CHANGE] Cleaning and refactoring so Code Climate ranks this as A-level code (Philip Arndt, Shevaun Coker, Garrett Heinlen).
* [FIX] Excerpts are now wildcard-friendly.
* [FIX] Facet searches now use max_matches value (with a default of 1000) to ensure as many results as possible are returned.
* [CHANGE] Exceptions raised when communicating with Sphinx are now mentioned in the logs when queries are retried (instead of STDOUT).
* [CHANGE] Excerpts now use just the query and standard conditions, instead of parsing Sphinx's keyword metadata (which had model names in it).
* [FIX] The settings cache is now cleared when the configuration singleton is reset (Pedro Cunha).
* [FEATURE] The :facets option can be used in facet searches to limit which facets are queried.
* [FIX] Escaped @'s in queries are considered part of each word, instead of word separators.
* [FIX] Internal class name conditions are ignored with auto-starred queries.
* [FEATURE] A separate role can be set for Sphinx actions with Capistrano (Andrey Chernih).
* [FIX] RDoc doesn't like constant hierarchies split over multiple lines.
* [CHANGE] Get database connection details from ActiveRecord::Base, not each model, as this is where changes are reflected.
* [CHANGE] Default Sphinx scopes are applied to new facet searches.
* [FEATURE] Facet searches can now be called from Sphinx scopes.
-------------------------------------------------------------------
Fri May 24 06:54:46 UTC 2013 - coolo@suse.com
- updated to version 3.0.3
* [CHANGE] Updating Riddle dependency to be >= 1.5.6
* [FEATURE] INDEX_ONLY environment flag is passed through when invoked through Capistrano (Demian Ferreiro).
* [FEATURE] use_64_bit option returns as cast_to_timestamp instead (Denis Abushaev).
* [FIX] Update to association handling for Rails/ActiveRecord 4.0.0.rc1.
* [CHANGE] Delta jobs get common classes to allow third-party delta behaviours to leverage Thinking Sphinx.
* [FEATURE] Collection of hooks (lambdas) that get called before indexing. Useful for delta libraries.
* [FIX] Cast and concatenate multi-column attributes correctly.
* [FIX] Don't load fields or attributes when building a real-time index - otherwise the index is translated before it has a chance to be built.
* [CHANGE] Raise ThinkingSphinx::MixedScopesError if a search is called through an ActiveRecord scope.
* [FIX] Default search panes are cloned for each search.
* [FIX] Index-level settings (via set_property) are now applied consistently after global settings (in thinking_sphinx.yml).
* [FIX] All string values returned from Sphinx are now properly converted to UTF8.
* [CHANGE] GroupEnumeratorsMask is now a default mask, as masks need to be in place before search results are populated/the middleware is called (and previously it was being added within a middleware call).
* [FIX] The default search masks are now cloned for each search, instead of referring to the constant (and potentially modifying it often).
* [CHANGE] The current_page method is now a part of ThinkingSphinx::Search, as it is used when populating results.
-------------------------------------------------------------------
Sun Mar 24 06:09:26 UTC 2013 - coolo@suse.com
- updated to version 3.0.2
* [CHANGE] per_page now accepts an optional paging limit, to match WillPaginate's behaviour. If none is supplied, it just returns the page size.
* [FEATURE] Ruby 2.0 support.
* [FEATURE] Rails 4.0.0 beta1 support.
* [FIX] :utf8? option within index definitions is now supported, and defaults to true if the database configuration's encoding is set to 'utf8'.
* [FIX] indices_location and configuration_file values in thinking_sphinx.yml will be applied to the configuration.
* [CHANGE] Strings and regular expressions in ThinkingSphinx::Search::Query are now treated as UTF-8.
* [FIX] Primary keys that are not 'id' now work correctly.
* [CHANGE] Setting a custom framework will rebuild the core configuration around its provided settings (path and environment).
* [CHANGE] Search masks don't rely on respond_to?, and so Object/Kernel methods are passed through to the underlying array instead.
* [FIX] Search options specified in index definitions and thinking_sphinx.yml are now used in search requests (eg: max_matches, field_weights).
* [FEATURE] Indexes defined in app/indices in engines are now loaded (Antonio Tapiador del Dujo).
* [FIX] Custom association conditions are no longer presumed to be an array.
* [CHANGE] Empty search conditions are now ignored, instead of being appended with no value (Nicholas Klick).
* [CHANGE] Custom conditions are no longer added to the sql_query_range value, as they may involve associations.
* [FIX] Capistrano tasks use the correct ts rake task prefix (David Celis).
* [FEATURE] Query errors are classified as such, instead of getting the base SphinxError.
-------------------------------------------------------------------
Sat Feb 9 09:27:43 UTC 2013 - coolo@suse.com
- updated to version 3.0.1
* [FEATURE] Provide Capistrano deployment tasks (David Celis).
* [FEATURE] Allow specifying of Sphinx version. Is only useful for Flying Sphinx purposes at this point - has no impact on Riddle or Sphinx.
* [FEATURE] Support new JDBC configuration style (when JDBC can be used) (Kyle Stevens).
* [FIX] Referring to associations via polymorphic associations in an index definition now works.
* [FEATURE] Mysql2::Errors are wrapped as ThinkingSphinx::SphinxErrors, with subclasses of SyntaxError and ParseError used appropriately. Syntax and parse errors do not prompt a retry on a n
ew connection.
* [CHANGE] Use connection pool for search queries. If a query fails, it will be retried on a new connection before raising if necessary.
* [CHANGE] Glaze always passes methods through to the underlying ActiveRecord::Base object if they don't exist on any of the panes.
* [FIX] Don't override foreign keys for polymorphic association replacements.
* [FIX] Quote namespaced model names in class field condition.
* [FEATURE] Polymorphic associations can be used within index definitions when the appropriate classes are set out.
* [FEATURE] Allow custom strings for SQL joins in index definitions.
* [FIX] New lines are maintained and escaped in custom source queries.
* [FIX] Subclasses of indexed models fire delta callbacks properly.
* [FIX] Thinking Sphinx can be loaded via thinking/sphinx, to satisfy Bundler.
* [FEATURE] indexer and searchd settings are added to the appropriate objects from config/thinking_sphinx.yml (@ygelfand).
* [FIX] New lines are maintained and escaped in sql_query values.
-------------------------------------------------------------------
Wed Jan 2 08:55:18 UTC 2013 - coolo@suse.com
- updated to version 3.0.0
-------------------------------------------------------------------
Sat Aug 11 05:43:41 UTC 2012 - coolo@suse.com
- updated to version 2.0.13
-------------------------------------------------------------------
Wed Jul 27 14:23:45 UTC 2011 - fcastelli@novell.com
- Attemp to issue blocking build on obs.
-------------------------------------------------------------------
Thu Jul 21 11:56:07 UTC 2011 - cmessel@novell.com
- Package version 2.0.5