Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.56 KB

UPGRADE.md

File metadata and controls

50 lines (33 loc) · 1.56 KB

UPGRADE

dev-develop

The _type field in Elasticsearch has been modified so it correctly reflects the fully qualified class name (FQCN) of the documents being indexed in snake case. When you are using Elasticsearch and upgrade, you will have to rebuild the indexes using the following command :

bin/console massive:search:reindex

0.11.0

IndexName decorators

The names of the indexes in the system can now be altered using decorators. There is also a PrefixDecorator, which can prefixes the index name with an installation specific prefix, which can be set using the massive_search.metadata.prefix parameter.

The configuration parameter massive_search.localization_strategy have been removed.

The indexes have to be rebuilt using the following command:

app/console massive:search:index:rebuild --purge

0.8.0

  • The index name is now evaluated the same way as the field names. This means that the current XML mappings also change, so <index value="..."> instead of <index name="..."> have to be used.

  • The search categories have been removed.

0.5.0

  • XML mappings have changed, the "Field" suffix has been dropped, for example <idField ... /> is now <id ... /> and <indexName>foo</indexName> has changed to <index name="foo" />.

  • The massive_search.adapter_id key should be renamed to massive_search.adapter and it now only accepts the name of the adapter, e.g. zend_search, elastic or test.

  • The Search\Factory methods have been renamed from makeSomething to createSomething