a6f7f31274
TASK: Do not publish internal method
2018-12-30 14:01:45 +01:00
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
9b0b0305a7
[BUGFIX] Make sure the while loop is not closed
...
When filterRecordsByRootLineBlacklist() returns no results, loop should just ask
the next items based on iteration
2018-10-29 14:00:02 +01:00
Benjamin Serfhos
ab1b6b5da9
[TASK] Finetune so interface is not reliant for Elastica library
2018-10-29 13:59:51 +01:00
2d9062b6e3
TASK: Streamline phpdoc
...
* Do not add duplicate information from PHP to phpdoc.
* Do not add useless comments like "this is a constructor of class x".
2018-10-27 14:08:11 +02:00
2c6521a565
TASK: Fix phpdocs and type hints
2018-10-27 13:10:59 +02:00
30a34c4f15
FEATURE: Always accept comma separated list of identifiers on CLI
...
* Streamline all commands to always accept a comma separated list of
identifiers.
* Adjust phpdoc to reflect this feature and provide help on CLI.
* Refactor code to move recurring logic to own method.
* Provide tests for new feature.
* Add documentation for feature.
2018-10-27 13:07:20 +02:00
Benjamin Serfhos
b70dd604fe
[TASK] Process own feedback based on tests
2018-10-26 09:26:33 +02:00
Benjamin Serfhos
028914e789
[TASK] Finetune query for document_type instead of regex
2018-10-24 14:08:59 +02:00
Benjamin Serfhos
3f5273f0fe
[BUGFIX] Make sure the while loop is not closed when filterRecordsByRootLineBlacklist() returns no results
2018-10-22 17:28:49 +02:00
Benjamin Serfhos
404f49aad2
[TASK] Add opening for possible user access lookup
2018-10-12 18:43:28 +02:00
Benjamin Serfhos
e297d556e6
[!!!][FEATURE] Remap specific document type's to ES6 identifiers
...
Multiple types are not allowed any more in ES6. Refactored to use document type and custom
identifier to still create different 'types'.
See: https://www.elastic.co/guide/en/elasticsearch/reference/6.x/removal-of-types.html
2018-10-12 09:30:25 +02:00
Benjamin Serfhos
a93a7af27f
[TASK] Add docprops to classes
...
+ Updated version pointer
+ Replaces deprecated ArrayUtility for Core utility
2018-10-03 10:59:45 +02:00
dfb3f897e7
!!!|FEATURE: Extract relation resolver to data processor
...
Instead of hardcoding and tight coupling of relation resolving, we now
provide a dataprocessor instead.
Therefore you need to configure resolving for each indexed type.
This resolves #149 and #147 .
2018-04-24 11:00:29 +02:00
a469f63aa6
TASK: Cleanup differences
...
We have some small differences between develop and support/76 branch.
This differences are just CGL and should not exist.
2018-03-13 10:51:59 +01:00
4da9e86540
TASK: Remove unused use statements
2018-03-08 11:09:07 +01:00
8d930448e0
TASK: Fix scurtinizer issues
2018-03-06 17:58:19 +01:00
560597dcff
TASK: Cleanup type annotations and phpstan issues
2018-03-06 17:40:49 +01:00
2998c43ba8
TASK: Refactor data processing
...
Use own service to handle data processing. Classes like indexer should
not know anything about the structure and how to process the data.
Also rename record to data, as we can process just any data in form of
an array.
Relates: #116
2018-03-01 08:03:51 +01:00
689d8f0c53
Merge pull request #96 from Codappix/feature/refactor-dataprocessing
...
!!!|FEATURE: Make data processing available to all indexer
2017-11-10 22:05:49 +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
e1a14b2f04
!!!|FEATURE: Make data processing available to all indexer
...
Before data processing was applied for TCA only, through tca table
service.
Now it's applied much later in process and in abstract indexer.
Therefore all indexer will run data processing if configured.
2017-11-08 21:05:53 +01:00
da7692b502
TASK: Adjust code accordingly to pr
2017-07-27 16:31:37 +02:00
36777c700b
Merge remote-tracking branch 'origin/develop' into feature/switch-from-ttcontent-to-pages
2017-07-27 16:26:24 +02:00
334bb34625
TASK: Cleanup code
...
Use get and use an try catch. Receiving null through ifExists will
result in an php error.
2017-07-27 13:00:51 +02:00
b832a6e6b3
TASK: Allow sub indexer to exchange limit
...
As long as it's not configurable, allow concrete implementations to
exchange. Necessary for one customer at the moment.
2017-07-20 09:48:44 +02:00
b6ab05bac7
FEATURE: Switch from ttcontent to pages
...
Also provide search_abstract as new auto added field which is
configurable.
2017-07-13 12:51:36 +02:00
c58e13cdf6
TASK: Rename vendor
...
As we move it from private repo to codappix.
2017-07-06 23:48:47 +02:00
432335c80d
FEATURE: Allow custom indexer
...
Adjust code to use defined indexer as FQCN, to allow any class to be
used as indexer. Also classes defined by user.
2017-07-04 12:12:36 +02:00