Commit graph

244 commits

Author SHA1 Message Date
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
324137711e Merge pull request #65 from Codappix/feature/allow-exchange-of-limit
TASK: Allow sub indexer to exchange limit
2017-07-27 14:28:04 +02:00
a936bd98db Merge pull request #68 from Codappix/feature/support-ngram
FEATURE: Add ngram
2017-07-27 14:27:24 +02:00
f436a02f55
FEATURE: Add field_value_factor support through configuration 2017-07-27 14:20:37 +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
f138cd9034
FEATURE: Add possibility to boost certain fields
Allow configuration via TS to boost certain fields during searching.
2017-07-25 15:38:40 +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
7722c37ea5
TASK: Check multiple fields for pages to be used as title 2017-07-20 14:22:52 +02:00
e8a84a8ecc
TASK: Remove temp variable 2017-07-20 13:48:27 +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
a737501dac
TASK: Update existing tests to work with new pages setup 2017-07-18 15:12:24 +02:00
e2c1846d6b
BUGFIX: Allow parent implementation to access content entry
E.g. it's possible to configure search_abstract to contain the value of
any record entry. Still content was not possible as it was set
afterwards.
2017-07-18 14:19:32 +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
299ec3af5e
TASK: Add tests covering new pages indexing
Including content and search abstract.
2017-07-13 14:54:37 +02:00
d36d8e8594
TASK: Add documentation and config for new feature 2017-07-13 13:58:16 +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
9fff750e85 BUGFIX: Fix TypoScript warning
Constants can't use multi line strings.
2017-07-07 16:55:09 +02:00
2cd5debf97
BUGFIX: Fix broken getRecord method
Also add test covering method.
2017-07-07 16:44:57 +02:00
a8fdb8a44d
TASK: Update dependencies for CMS 8 2017-07-07 16:24:56 +02:00
d61a86f8fe
TASK: Finish TYPO3 CMS 8 update 2017-07-07 16:16:49 +02:00
cf902dde83
TASK: Make extension more compatible
Migrate sql to doctrine.
Migrate relation resolver to use new API.
2017-07-07 14:44:32 +02:00
fc3c12fa96
BUGFIX: Allow tests to run without database connection
Ad TYPO3 Core now makes use of Doctrine, a connection is required to
build system where. Therefore we move it to an own method to exchange
the execution inside of tests.
2017-07-07 12:19:35 +02:00
705e3be85a
TASK: Migrate dev dependencies
As testing framework is used, we can prefer dist again to speed up
composer installation.
2017-07-07 12:19:25 +02:00
3d90bad58d
Merge remote-tracking branch 'origin/develop' into feature/cms-8-support 2017-07-07 11:58:15 +02:00
c58e13cdf6
TASK: Rename vendor
As we move it from private repo to codappix.
2017-07-06 23:48:47 +02:00
dfde4b8f6b
TASK: Update docs
Document new configuration options and adjust configuration where
necessary.
2017-07-06 16:17:30 +02:00
3e2e889e27
TASK: Add tests for new facets
Add functional test to test facet configuration including:
    - Mapping (indexing)
    - Searching (retrieving of facets)
    - Filter (already existed, now based on facet case sensitive)
2017-07-06 15:51:29 +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
05f846a1cf
Update existing unit tests
Make existing unit tests work with new code base.
Also add new tests for new code to existing tests.
2017-07-06 13:53:29 +02:00
975381cc4a
TASK: Integrate working code
Copied code from customer installation with working implementation.
2017-07-06 12:03:52 +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
03a953c13f
TASK: Add unit test covering configuration option
Add test to cover option to configure user defined
additionalWhereClause.
2017-07-04 10:27:03 +02:00
9d20524706
WIP|TASK: Use new TYPO3
Use testing framework configuration.
Use new db.
Begin with replacement of old TYPO3_DB.
2017-07-04 10:12:47 +02:00
9769ee1cb6
TASK: Update composer
Require TYPO3 CMS 8.2 and PHP 7.1 as minimum.
Use conventionally lower case web folder.
2017-07-03 22:59:18 +02:00
fde592f2e3
TASK: Adjust configuration for indexing
* Adjust used configuration in command.
2017-06-29 09:18:31 +02:00
aa8d7e36e6
TASK: Add test covering index command
* To enable testing new configuration structure.
2017-06-29 09:13:39 +02:00
4c7bc8b9f5
Merge branch 'feature/filter' into feature/restructure-configuration 2017-06-29 08:45:36 +02:00
dfed17bb6c
TASK: Update docs
* Cover new features and how to use them.
2017-06-29 08:42:38 +02:00
3553c443e2
FEATURE: Adjust configuration structure
* To support further configuration, specific to identifiers / tables.
* E.g. mapping and boost configuration should be possible.
* Adjust docs and settings.
* Adjust tests and code.
2017-06-27 16:51:33 +02:00
18b7f2d8b1 Merge branch 'develop' into feature/filter 2017-06-27 15:02:25 +02:00
0136c10f12 Merge pull request #50 from DanielSiepmann/feature/upgrade-phpunit
TASK: Upgrade phpunit to latest stable 5.7
2017-06-27 14:35:05 +02:00
9a482381c0
TASK: Upgrade phpunit to latest stable 5.7
* To make use of new features.
* To reduce cost of later migrations.
* Migrate deprecated calls from lower TYPO3 api.
2017-06-13 15:36:56 +02:00
f453592b39
TASK: Add further tests and cast search input
* Map user input to string in any case.
* Add tests to check whether filter is added to query.
* Add test to check whether input is casted to string.
2017-06-08 08:38:14 +02:00
f4a9531fe5
TASK: Remove unnecessary code
* As filter is already in the format we need, we can just use it instead
  of using a foreach.
2017-06-06 16:25:35 +02:00
f5729c2763
BUGFIX: Keep return type
* Return boolean type.
2017-06-06 15:33:06 +02:00
bb9e29574f
TASK: Use elasticsearch 5.2 on travis
* As we make use of newer features that are incompatible with travis own
  elasticsearch version 1.x.
2017-06-06 14:25:03 +02:00
1a41c5e237
FEATURE: Add filter to search
* Allow to filter results by field values.
2017-06-06 13:53:08 +02:00