4c99009ea0
TASK: Remove cache implementation
...
As it does not use TYPO3 caching framework but custom feature.
2018-12-30 14:45:16 +01:00
a6f7f31274
TASK: Do not publish internal method
2018-12-30 14:01:45 +01:00
1efb06d84b
TASK: Remove wrong phpdoc
2018-12-30 14:01:38 +01:00
09cbaede29
TASK: Remove unused code
...
E.g. use statement and injected object manager.
2018-12-30 14:01:10 +01:00
7f2249e3ff
TASK: Use a single array utility
...
Instead of only adding a new class for one static method, we extend the
existing class to only import a single class.
This way we extend the original array utility function collection.
2018-12-30 14:00:22 +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
43254c168c
TASK: Fix license and php doc
2018-12-29 19:27:47 +01:00
8c33c8c6f0
TASK: Remove unused file / php class
2018-12-29 19:27:02 +01:00
831da6a4e4
TASK: Use new SearchRequestInterface everywhere
...
Otherwise the interface is no big benefit. Also it might crash under
some circumstances.
2018-12-29 19:21:58 +01:00
ea8b4f4538
TASK: Fix / improve some comments
...
* Add missing throws annotation.
* Remove useless comments.
* Import namespaces used in comments.
2018-12-29 18:03:14 +01:00
9c2db0b5ba
TASK: Remove custom filter for fe group filtering
...
As this didn't work on first use. Also no tests are available for this
feature yet.
As we remove the whole feature in a single commit, we can revert this
commit later. This way we can upgrade Elasticsearch and provide this
feature later on.
2018-12-29 17:59:23 +01:00
6f34ca273b
BUGFIX: Keep necessary type hint for extbase
2018-12-27 11:57:58 +01:00
Benjamin Serfhos
ee1f235c2e
[TASK] Use filter interface for custom added filter
2018-10-30 09:59:14 +01:00
Benjamin Serfhos
ef43bc1674
[FEATURE] Use interface for SearchService
...
Added cached proxy service for data interaction
2018-10-29 17:31:26 +01:00
Benjamin Serfhos
2ee4a88a67
[TASK] Add objectmanager via constructor DI injection
2018-10-29 14:30:40 +01:00
Benjamin Serfhos
209f441b5d
[TASK] Added link generation based on fluid templates
...
Removed search_page_typolink parameter from index
2018-10-29 14:30:37 +01:00
Benjamin Serfhos
5250f97809
[BUGFIX] Make sure boolean is returned for strict return type
...
When configured by comma seperate list, it should return true
2018-10-29 14:01:03 +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
f1eb85de64
[TASK] Remove double variables
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
140dea3cbb
TASK: Refactor code to use guards and decrease indentation
2018-10-27 13:15:02 +02:00
5d5af73705
TASK: Add missing license comments in PHP files
2018-10-27 13:11:39 +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
a3ccc123c4
[TASK] Make sure CGL is correct
2018-10-26 11:29:37 +02:00
Benjamin Serfhos
b8de35adee
[BUGFIX] Remove _all from unit tests
2018-10-26 10:49:43 +02:00
Benjamin Serfhos
b70dd604fe
[TASK] Process own feedback based on tests
2018-10-26 09:26:33 +02:00
Benjamin Serfhos
a50cbf25a2
[TASK] Process feedback and fix unit-tests
2018-10-24 17:41:47 +02:00
Benjamin Serfhos
028914e789
[TASK] Finetune query for document_type instead of regex
2018-10-24 14:08:59 +02:00
Benjamin Serfhos
519bc7e5b4
[BUGFIX] Inherit access groups from parent pages when extended to subpages
2018-10-24 10:09:22 +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
7566bf93d5
[FEATURE] Add Frontend User access query for secure search on elastic index
2018-10-22 17:28:17 +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
1f0eae88f7
[TASK] Corectly index access group for query content
2018-10-08 11:57:26 +02:00
Benjamin Serfhos
d0bbfb8682
[TASK] Add typolink to index
2018-10-03 11:59:56 +02:00
Benjamin Serfhos
acac544f77
[TASK] Remove deprecated _all field query for Elastic 6.x
...
See: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-all-field.html
2018-10-03 11:32:24 +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
9cc5e45409
BUGFIX: Allow to define zero as valid filter value via TypoScript
...
The configured filter is no longer filtered, it's up to the integrator
to provide proper configuration. Therefore `0` is now a valid and
respected filter value.
Resolves : #163
2018-09-26 17:07:34 +02:00
244b0d9b12
TASK: Refactor column value in own method
...
This allows to replace this single part of code in own implementations.
2018-09-05 13:42:13 +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
0d57374f25
Merge remote-tracking branch 'origin/develop' into feature/147-handle-rendertype-inputDateTime
...
Conflicts:
Tests/Unit/Domain/Index/TcaIndexer/RelationResolverTest.php
2018-04-19 17:08:13 +02:00
82d397c428
FEATURE: Keep sys_language_uid while indexing
...
Before this change, sys_language_uid was indexed as an empty string, due
to internal used TYPO3 API.
We now skip the configure field which defines language uid. This way you
can build filter based on current language.
Resolves #148
2018-04-12 12:03:02 +02:00
c1d1e6ed68
BUGFIX: Do not resolve inputDateTime as relation
...
Add test which checks this behaviour.
Exclude inputDateTime from relation resolving.
Resolves #147
2018-04-12 12:01:07 +02:00
c8dc95c4d3
FEATURE: Provide type of result item
...
In order to make further usage easier, we provide the type for each
result item.
This makes it possible to call {f:render(section: resultItem.type)}.
2018-03-20 16:07:28 +01:00
bb10f4f5d6
Merge remote-tracking branch 'origin/develop' into feature/134-allow-header-element-to-be-indexed
2018-03-16 17:28:56 +01:00
81b210b3b7
Merge remote-tracking branch 'origin/develop' into hotfix/135-limit-page-indexing
2018-03-15 16:03:30 +01:00
9c25f1560b
Merge remote-tracking branch 'origin/develop' into feature/134-allow-header-element-to-be-indexed
2018-03-15 16:03:20 +01:00
2b78ffbe96
BUGFIX: Workaround doctrine limitation
...
Doctrine will not implode our array, so we have to do
2018-03-15 14:42:41 +01:00