13cd87019f
TASK: Refactor type handling for elasticsearch
...
With V6 of elasticsearch the meaning / handling of index and type has
changed, and it will change further in the future.
We therefore move code to own classes and adjust / refactor calling
code.
2018-12-29 18:05:24 +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
Benjamin Serfhos
4000699812
[TASK] Remove duplicate search_identifier in index
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
2c6521a565
TASK: Fix phpdocs and type hints
2018-10-27 13:10:59 +02:00
Benjamin Serfhos
a3ccc123c4
[TASK] Make sure CGL is correct
2018-10-26 11:29:37 +02: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
a50cbf25a2
[TASK] Process feedback and fix unit-tests
2018-10-24 17:41:47 +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
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
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