Commit graph

58 commits

Author SHA1 Message Date
5fef9e3931 Merge pull request #69 from Codappix/feature/support-ngram
FEATURE: Add ngram
2017-07-27 14:27:26 +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
359d344382
Merge branch 'develop' into support/62 2017-07-11 08:33:20 +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
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
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
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
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
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
78c8c66915 Merge pull request #47 from DanielSiepmann/bugfix/initialize-settings
BUGFIX: Initialize settings
2017-05-30 11:02:06 +02:00
4588a48928
BUGFIX: Initialize settings
* To allow ArrayUtility to work even if no settings were retrieved, e.g.
  in tests.
2017-05-30 10:42:35 +02:00
ea1e3640dd
TASK: Fix CGL 2017-05-11 14:36:12 +02:00
687ba8075d
TASK: Migrate RelationResolver to FormEngine
* Replace old implementation for TYPO3 6.x with new one for rewritten
  form engine in 7.x and up.
2017-05-11 12:39:56 +02:00
350f906016
BUGFIX: Don't index null records
* Check null beside false for db result.
2017-05-11 09:16:24 +02:00
8bea39217e
BUGFIX: Don't break if no more records exist 2017-01-26 14:57:23 +01:00
8e062d6e42
BUGFIX: Respect additionalWhereClause and rootline
* Use constants instead of setup.
* Grap configuration from path.
* Add where clause.
2017-01-26 14:37:17 +01: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
d358714d0d
BUGFIX: Handle non available records during indexing
* E.g. a hidden record is edited.
2017-01-12 14:26:09 +01:00
1878209b51
BUGFIX: Handle missing configuration in hook
* Don't break if no configuration exists, instead improve logging.
2017-01-12 14:21:41 +01:00
24deb93b4f
BUGFIX: Don't break type if settings are not available
* E.g. if no TypoScript is included we still should have an array to not
  break method calls.
2017-01-12 14:07:23 +01:00
c59ca504ca
Hotfix: Add missing typehint 2017-01-12 13:24:58 +01:00
77555e359f
CLEANUP: Scrutinizer issues 2016-12-20 16:54:46 +01:00
257b23d8e6 Merge pull request #38 from DanielSiepmann/feature/17-resolve-inline-relations
FEATURE: Resolve further relations
2016-12-20 12:19:03 +01:00
dc489d6bb8
CLEANUP: Refactor code 2016-12-20 12:10:28 +01:00
9bf2657318
FEATURE: Resolve further relations
* Resolve static select items
* Add test for further relation resolvings

Relates: #17
2016-12-20 11:49:02 +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
03cc77f336
CLEANUP: Fix code style issues 2016-12-15 14:28:10 +01:00
28ef07cbd7
FEATURE: Add new feature to cli 2016-12-15 14:10:04 +01:00
541c6db53a
FEATURE: Allow to configure tables to be processed
* Add typoscript option which TYPO3 tables should be processed and which
  should not be processed.
* Respect new optiion in hook.
* Also add necessary tests.
* Remove old no longer needed tests for hook.
2016-12-15 14:04:26 +01:00
1486799a02
CLEANUP: Code Style Issues 2016-12-15 11:41:45 +01:00
499b9d0500
FEATURE: Add new configuration to blacklist records by root line
* Allow configuration through TypoScript to exclude records for indexing
  based on their root line position. Page uids can be configured for
  exclusion and all records beneath will be excluded while indexing.
2016-12-15 11:32:41 +01:00
7cabcea0d5
TASK: Explain why this todo is not resolved yet 2016-12-15 09:24:43 +01:00
5ad99ad8f6
Merge remote-tracking branch 'origin/feature/integrate-elasticsearch' into feature/firstReview 2016-12-15 09:21:26 +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
99fbb28b9d
CLEANUP: Keep line short 2016-12-13 17:19:02 +01:00
0953f4bb1f
FEATURE: Index resolved relations
* TCAIndexer is now able to resolve relations of any kind by using TYPO3
  Core API.
* Indexed will be a single string or an array, depending of how many
  relations were resolved.
* The same value will be indexed as shown by TCA in backend while
  editing or displaying.
2016-12-13 16:55:57 +01:00
2ede3ea3a0
BUGFIX: Reorder arguments
* As optional arguments should not come before required.
2016-12-13 12:46:03 +01:00