Commit graph

28 commits

Author SHA1 Message Date
689f293194
TASK: Finish deletion of index and documents feature
We replace the "flush" and "delete" by "delete" and "deletedocuments"
logic. This makes it more obvious what will happen, without reading the
docs.

Also we kept the logic to always provide the index name, as
we will need them in the future. Due to elasticsearch v6 changes no
types are allowed in the same index in the future. Therefore we need to
make it possible to use different indexes in the future, leading to the
need to provide the document type all the time.
2018-12-30 13:43:43 +01:00
Benjamin Serfhos
23f3d0df92 [TASK] Add functional test for deleteDocuments functionality 2018-10-26 09:46:01 +02:00
Benjamin Serfhos
b70dd604fe [TASK] Process own feedback based on tests 2018-10-26 09:26:33 +02:00
Benjamin Serfhos
628f76af4b [BUGFIX] Use relative location of Fixtures 2018-10-24 17:57:16 +02:00
a232ae0b36
BUGFIX: Respect page uid of content records
Do not index content records of all pages while indexing pages in CMS
8.x.

We add same logic as for CMS 7.x, we extend the query to only fetch
records from current page.

Resolves: #135
2018-03-15 08:08:47 +01:00
8f65d858bb
TASK: Fix case in source code
Fix case for method call.
Fix a typo in test method name.
2018-03-15 08:08:43 +01:00
b2a63e9cb0
TASK: Make extension compatible with CMS 7.6 2018-03-13 20:34:56 +01:00
ae51de9041
Merge remote-tracking branch 'origin/develop' into feature/phpcs-travis
Conflicts:
    Classes/Hook/DataHandler.php
2018-03-06 13:17:29 +01:00
5d1e7c41bc
!!!|FEATURE: Pass facet configuration to search service
Do not limit integrator in possibilities to configure.

Therefore previously configure facets for a field need to be adjusted to
contain full configuration for elasticsearch. See changelog.

Resolves: #120
2018-03-06 12:05:32 +01:00
03d4d7493c
Merge pull request #99 from Codappix/feature/provide-index-deletion-command
FEATURE: Provide command to delete whole index
2017-11-10 22:05:02 +01:00
0815eaff6b
BUGFIX: Remove records during update if no longer available
E.g. update is to deactivate a record. In this case we will not be able
to update the record but should delete him instead.
2017-11-10 13:48:53 +01:00
a3a46f5cb5
FEATURE: Provide command to delete whole index
This is necessary, e.g. for complete re-indexing.
2017-11-10 13:22:15 +01:00
96cfa46056
Merge remote-tracking branch 'origin/develop' into feature/cms-8-support 2017-08-04 13:01:33 +02:00
d59173ec9a Merge remote-tracking branch 'origin/develop' into feature/cms-8-support 2017-07-28 11:45:09 +02:00
36777c700b
Merge remote-tracking branch 'origin/develop' into feature/switch-from-ttcontent-to-pages 2017-07-27 16:26:24 +02:00
a737501dac
TASK: Update existing tests to work with new pages setup 2017-07-18 15:12:24 +02:00
eafed7fb11
TASK: Add keys for better access to Facets 2017-07-18 09:27:46 +02:00
2cd5debf97
BUGFIX: Fix broken getRecord method
Also add test covering method.
2017-07-07 16:44:57 +02:00
cf902dde83
TASK: Make extension more compatible
Migrate sql to doctrine.
Migrate relation resolver to use new API.
2017-07-07 14:44:32 +02:00
c58e13cdf6
TASK: Rename vendor
As we move it from private repo to codappix.
2017-07-06 23:48:47 +02:00
3e2e889e27
TASK: Add tests for new facets
Add functional test to test facet configuration including:
    - Mapping (indexing)
    - Searching (retrieving of facets)
    - Filter (already existed, now based on facet case sensitive)
2017-07-06 15:51:29 +02:00
c6a199a7a4
BUGFIX: Fix broken functional test 2017-07-06 14:13:26 +02:00
18b7f2d8b1 Merge branch 'develop' into feature/filter 2017-06-27 15:02:25 +02:00
1a41c5e237
FEATURE: Add filter to search
* Allow to filter results by field values.
2017-06-06 13:53:08 +02:00
eba74ebb93
TASK: Make test work with TYPO3 7.x
* Do not overwrite base ts setup, keep it and add test specific.
* Adjust order of labels.
2017-05-11 12:50:31 +02:00
9bf2657318
FEATURE: Resolve further relations
* Resolve static select items
* Add test for further relation resolvings

Relates: #17
2016-12-20 11:49:02 +01:00
eaa23e77ce
CLEANUP: Refactor tests to save code
* Make data sets configurable.
* Refactor same setup to abstract parent.
2016-12-15 14:28:40 +01:00
203b70898b
TASK: Restructure tests
* As introduces through review, the tests are working and have huge code
  coverage, but don't test what they say. Therefore we reorder them in
  new structure, to have new tests in clean structure.
2016-12-15 11:31:48 +01:00