769fb8237b
TASK: Add data processing to search result
...
Search results are now processed through data processing by search
service. The result will be a SearchResult model from our domain. Also
SearchResult will execute new queries, e.g. from paginate widget,
through SearchService to apply data processing again.
Remove duplicate stub code to trait, to keep own logic and code clean.
2018-03-06 09:04:47 +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
fef2bdac89
Merge pull request #115 from Codappix/feature/112-resolve-relations-for-new-records
...
BUGFIX: Allow indexing of new records with their relations
2018-02-23 10:20:58 +01:00
47b3282034
BUGFIX: Allow indexing of new records with their relations
...
Relations were inserted by TYPO3's DataHandler after indexing and were
therefore not indexed.
We now use a later hook after DataHandler has finished everything, so we
know that we can index. As it's not relevant, we do not differentiate
between add and update anymore, as both trigger "indexDocument" internal.
Resolves : #112
2018-02-22 22:14:44 +01:00
ebaeaf4c92
TASK: Support PHP 7.0
...
As some (e.g. debian) do not provide PHP 7.1 and we did not use so much
features which were introduced in PHP 7.1, we add support for PHP 7.0.
2018-02-22 21:59:13 +01:00
Justus Moroni
c994a32ac1
BUGFIX: Make BackendUtility usable in frontend
...
BackendUtility used LanguageService which only works
in the backend.
Extend BackendUtility and use TSFE instead.
2018-01-29 22:49:29 +01:00
02ef86b67b
FEATURE: Provide new feature to configure fields to search in
...
This enables you to search only in some fields.
Also if some fields contain mapping, you can add them in addition to
e.g. `_all`.
2017-11-29 18:57:09 +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
43ec410eb5
Merge pull request #93 from Codappix/hotfix/allow-empty-filter
...
BUGFIX: Do not remove submitted filter if configured one is empty
2017-11-02 22:41:20 +01:00
8206a1ec59
BUGFIX: Do not remove submitted filter if configured one is empty
...
This will be the case if you add a flexform to the plugin with no value.
Then an empty filter is configured and you will not be able to submit a
value for this filter.
2017-10-29 17:08:33 +01:00
c38f7b9d6a
TASK: Move configuration logic into own class
...
Also add tests for new code.
2017-10-29 13:44:17 +01:00
bf91c4a5ba
TASK: Allow fields and sorting to contain a condition
...
This way integrators can configure when the sorting and fields should be
added.
2017-10-29 12:25:25 +01:00
07a4fec622
WIP|FEATURE: Allow fields and sorting to be configurable
2017-10-23 16:35:38 +02:00
b1f81c0d3b
WIP|FEATURE: Add field and sorting
...
Sort result by distance and provide distance to result items.
2017-10-22 17:51:04 +02:00
8d343ee97f
FEATURE: Finish filter configuration for geo_search
2017-10-22 17:34:48 +02:00
636ef78a14
WIP|TASK: Remove sort and add filter
...
As we filter for distance and do not sort.
2017-10-22 11:23:28 +02:00
3f1c3db2a2
Merge remote-tracking branch 'origin/develop' into feature/geo-search
...
Conflicts:
Classes/DataProcessing/ProcessorInterface.php
Classes/Domain/Index/TcaIndexer/TcaTableService.php
2017-10-20 09:20:04 +02:00
5026de0acd
Merge remote-tracking branch 'origin/develop' into bugfix/do-not-fetch-non-existing-db-fields
2017-10-14 15:41:21 +02:00
2c466854b2
BUGFIX: Do not add non existing db columns to fields array
...
As TCA might contain columns which do not exist in DB, filter them out.
2017-10-14 15:23:13 +02:00
6c01abe5a5
BUGFIX: Also handle data processor without configuration
2017-10-14 13:35:44 +02:00
efeb5d1e07
FEATURE: Add data processing to extension
...
Allow integrators / developer to apply data processing concept known
from FLUIDTEMPLATE to indexing.
2017-10-14 13:02:48 +02:00
fafa919f37
WIP|FEATURE: Basic hardcoded implementation
2017-09-16 20:50:03 +02:00
13004e86f2
FEATURE: Allow filter mode by not forcing a search term
2017-09-15 21:54:47 +02:00
4de1828905
FIX: Fix phpcs issues with annotations
2017-09-15 21:36:52 +02:00
be75248517
FEATURE: Allow configured filters
...
Add new feature to allow pre configured filters. The filters will be
applied to all requests.
2017-09-15 21:35:52 +02:00
d45d231585
Merge remote-tracking branch 'origin/develop' into feature/cms-8-support
2017-09-05 19:26:09 +02:00
fcaf1efc79
Merge pull request #82 from Codappix/feature/add-pagination
...
FEATURE: Implement necessary logic to support PaginateViewHelper
2017-08-29 09:25:32 +02:00
efc2fb7da6
BUGFIX: Remove pr issue
2017-08-25 11:46:46 +02:00
3bb875d99a
Merge pull request #81 from Codappix/feature/support-timing-inheritance-for-pages
...
FEATURE: Respect inherited start- and endtime for pages
2017-08-25 11:44:20 +02:00
fe754964fe
BUGFIX: Fetch record to update
2017-08-21 12:10:34 +02:00
9617733826
BUGFIX: Fix accessing non existing property
2017-08-15 09:36:25 +02:00
8b28d5eda6
Merge remote-tracking branch 'origin/develop' into feature/cms-8-support
...
Conflicts:
Configuration/TypoScript/constants.txt
2017-08-15 09:35:05 +02:00
040206c95d
FEATURE: Respect further root line cases
...
Respect the following situations during indexing:
- Page is not reachable due to broken root line.
- Page is not reachable due to being below a recycler.
2017-08-15 09:21:04 +02:00
f311357d0e
TASK: Fix indentation
2017-08-15 08:30:49 +02:00
bd8ed737e2
Merge remote-tracking branch 'origin/develop' into feature/add-pagination
...
Conflicts:
Classes/Domain/Search/QueryFactory.php
2017-08-15 08:29:48 +02:00
ef7c1b680c
Merge pull request #78 from Codappix/feature/small-improvements
...
Feature: Small improvements
2017-08-15 08:08:10 +02:00
416e49026e
TASK: Break line exceeding max line length
2017-08-10 09:05:20 +02:00
c5766f5b12
BUGFIX: Use fresh query for each creation
...
This prevents issues with modifying an build query.
2017-08-10 08:54:36 +02:00
f7e1bd1cdf
FEATURE: Implement necessary logic to support PaginateViewHelper
2017-08-08 17:19:50 +02:00
17eb35a92b
FEATURE: Respect inherited start- and endtime for pages
...
Do not index records below tables that extend their start- or endtime to
their subpages are not accessible due to timing now.
2017-08-08 12:58:01 +02:00
49a56496c6
TASK: Fix codacy issues
...
Break line to not exceed maximum line length.
Use imported namespace to shorten line.
2017-08-08 11:54:32 +02:00
0fa05270d5
Merge branch 'feature/small-improvements' into feature/cms-8-support
2017-08-04 13:40:53 +02:00
56ce88b005
TASK: Resolve relations always to array
...
Do not resolve to empty string but array to allow same handling for all
relations.
2017-08-04 13:39:18 +02: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
da7692b502
TASK: Adjust code accordingly to pr
2017-07-27 16:31:37 +02:00