Commit graph

54 commits

Author SHA1 Message Date
b88869ecaa
!!!|Fix unit tests for CMS 9 + PHP 7.3
* Add some more checks to remove PHP warnings / notices.
* Adjust code to match CMS 9 API / interfaces.
* Do no longer use "query" but only searchTerm, as query is internal
  API.
2019-05-17 16:22:06 +02:00
5779cb911d
Revert changes to configuration fetching
Keep old code and behaviour. Adjust only a single place to keep old
expected behaviour.

If TYPO3 throws an exception, catch this, and replace it by old
behaviour which is already handled throughout the code.
2019-05-05 10:12:13 +02:00
2b91425732
Remove unused debugger imports 2019-05-05 10:11:09 +02:00
Daniel Maier
5ea0f34632 [task] handle missing array path exceptions 2018-10-17 17:17:06 +02:00
Justus Moroni
2b56d4c2d5 Merge branch 'develop' into feature/75-make-index-configurable
# Conflicts:
#	Documentation/source/configuration/connections.rst
#	Documentation/source/connections.rst
2018-05-17 23:51:55 +02:00
Justus Moroni
a15b78ff45 FEATURE: Provide new feature to configure the index
This enables you to configure the index which elastic
will use.

Related: #75
2018-05-17 23:42:13 +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
b2a63e9cb0
TASK: Make extension compatible with CMS 7.6 2018-03-13 20:34:56 +01:00
0122dd88e4
TASK: Fix call to non existing method 2018-03-13 12:19:54 +01:00
6d7199ccf2
TASK: Provide already used logger
As we use the logger, we should inject it.
2018-03-13 12:19:30 +01:00
ba19537f4e
TASK: Migrate existing 7.6 features
We had some features in 7.6 support which we didn't merge up yet.
Mostly very small bug fixes or more helpful logging and processing of
elasticsearch options.

But also adding images of content elements while indexing pages.
2018-03-13 11:02:29 +01:00
09cd655a7a
TASK: Remove whitespace in return type annotation 2018-03-08 11:20:23 +01:00
fc8017fdf4
TASK: Fix further issues reported by phan 2018-03-08 11:09:28 +01:00
4da9e86540
TASK: Remove unused use statements 2018-03-08 11:09:07 +01:00
89065305c4
Merge branch 'feature/add-display-name-to-facet' into feature/cleanup
Conflicts:
    Classes/Connection/Elasticsearch/FacetOption.php
    Classes/Connection/FacetOptionInterface.php
2018-03-08 07:51:44 +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
6544ec07d3
FEATURE: Support display name for facet option
As some search services, like elasticsearch, allow generation of a
string that should be displayed in frontend, we provide a new getter for
that.
The old existing name can be a fallback in custom implementations.
2018-03-06 16:41:54 +01:00
6ac2680211
Merge pull request #101 from Codappix/feature/phpcs-travis
Feature: Run phpcs on travis
2018-03-06 15:11:46 +01:00
951edf3871
Merge pull request #122 from Codappix/feature/116-execute-dataprocessor-on-result
FEATURE: 116 execute dataprocessor on result
2018-03-06 13:47:35 +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
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
b7b783a7fe
TASK: Use Code Sniffer at travis
This way we need no external service.
Each developer can fully run all tests and cgl on local environment.
Also this integrated better into IDEs and editors.
2017-11-11 16:52:02 +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
67a43e64a5
BUGFIX: Fix typos in method name and php doc 2017-10-14 15:28:50 +02:00
b31f315ec4
BUGFIX: Allow iteration / pagination of result items
Implement necessary logic based on mapped result items, not elastica
result items.
2017-09-06 22:45:17 +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
f7e1bd1cdf
FEATURE: Implement necessary logic to support PaginateViewHelper 2017-08-08 17:19:50 +02:00
ac78464c03
TASK: Provide more helpful logging 2017-08-04 13:39:48 +02:00
3771e6f8f9
Merge branch 'develop' into feature/configure-result-size 2017-07-27 14:41:30 +02:00
441ac7dd84 Merge pull request #59 from Codappix/feature/add-facet-keys
TASK: Add keys for better access to Facets
2017-07-27 14:28:37 +02:00
c1cc16efa5
BUGFIX: Fix nun working options due to miss match of ts and es
As TypoScript does not provide a way to configure key less options, we
use a comma separated list and explode them to stay compatible with
elasticsearch.
2017-07-25 15:00:25 +02:00
6462052c9b
FEATURE: Add ngram
Provide configuration for index.
Provide minimum_should_match configuration.
2017-07-25 09:52:17 +02:00
1030e8d5cf
FEATURE: Make number of search results to fetch configurable 2017-07-18 10:44:39 +02:00
eafed7fb11
TASK: Add keys for better access to Facets 2017-07-18 09:27:46 +02:00
c58e13cdf6
TASK: Rename vendor
As we move it from private repo to codappix.
2017-07-06 23:48:47 +02:00
38f9087111
TASK: Finish interface
To stay compatible with implementation.
2017-07-06 14:13:39 +02:00
c6a199a7a4
BUGFIX: Fix broken functional test 2017-07-06 14:13:26 +02:00
975381cc4a
TASK: Integrate working code
Copied code from customer installation with working implementation.
2017-07-06 12:03:52 +02:00
1a41c5e237
FEATURE: Add filter to search
* Allow to filter results by field values.
2017-06-06 13:53:08 +02:00
3a2523e1d2
WIP|FEATURE: First basic implementation of filter
* Working version without further architecture.
* Manually tested.
* Still need to move to new architecture and cover with tests.
2017-06-06 12:32:27 +02:00
8448618f60
FIX: Catch deletion of non existing documents
* Catch exception raised during deletion of documents that are not
  already indexed.
* Log failed deletion tries.
* Add new necessary Exceptions.
2017-01-26 11:01:00 +01:00
c59ca504ca
Hotfix: Add missing typehint 2017-01-12 13:24:58 +01:00
5989b65ae0
FEATURE: Split configuration to support the concepts
* Add a further level in configurations to support multiple connections
  and indexer.

Relates: #31
2016-12-20 10:04:44 +01:00
1486799a02
CLEANUP: Code Style Issues 2016-12-15 11:41:45 +01:00
98affa8f69
TASK: Resolve first review results
* Also remove coverage output on stdout, as it won't help anyone.
2016-12-15 09:17:58 +01:00
Ferdinand Kuhl
1c1295cacb TASK: Just some very early notes, without claiming of completeness 2016-12-14 19:34:35 +01:00
2ede3ea3a0
BUGFIX: Reorder arguments
* As optional arguments should not come before required.
2016-12-13 12:46:03 +01:00
162d383a9d FEATURE: Allow to configure additional where statement for indexing
* Provide TypoScript option to extend where clause to skip further
  records, e.g. tt_content by CType.
2016-12-13 12:33:54 +01:00