Commit Graph
5170 Commits
Author SHA1 Message Date
elia 91707f947d [SEARCH-2330]
changed log messages at tracking enabling and disabling
2020-07-30 14:17:06 +02:00
Elia Porciani 7084459818 Fix/search 2330 state persisten across reloads (#865)
* [SEARCH-2330]
managed persistence accross reloads with static variable

* [SEARCH-2330]
fix unit test
2020-07-30 11:41:40 +02:00
Tom Page 59c45b6638 Merge pull request #864 from Alfresco/feature/SEARCH-2324_UpdateBaseDockerImage
SEARCH-2324 Update base Docker image.
2020-07-29 15:38:21 +01:00
Tom Page 8e2327b1d1 SEARCH-2324 Update base Docker image. 2020-07-29 14:05:59 +01:00
Elia PorcianiandKeerat 2f16e5f0b9 SEARCH-2317: Add support of nested queries (#833)
* [SEARCH-2317]
- date field substitutions in nested and join queries
- optimized code with the use of streams

* [SEARCH-2317]
code refactoring

* [SEARCH-2317]
Added unit tests

* [SEARCH-2317]
fixed broken tests

* [SEARCH-2317]
removed duplicated test

* SEARCH-2317 Adding e2e-test coverage for date filter fields

* [SEARCH-2317]
initial work on translation of timestamp in having clause

* [SEARCH-2317]
update calcite to 1.15

* [SEARCH-2317]
- timestamp tranlation into long value
- fix aliasing in nested queries

* [SEARCH-2317]
add test for timestamp translation

* [SEARCH-2317]
downgrade calcite to 1.13

* [SEARCH-2317]
fix error in complex where clauses

* [SEARCH-2317]
Coder refactoring.
Updated notice.txt with the new version of calcite and avatica

* [SEARCH-2317]
fix E2E tests

* [SEARCH-2317]
Managed group by buckets with no fields defined.

* [SEARCH-2317]
Added e2e tests

* [SEARCH-2317]
modified tuple values from NaN to 0 at retrieving time

* [SEARCH-2317]
- Fix tests accoring with new aggregation results (0 instead of NaN)
- Added e2e tests

* [SEARCH-2317]
fixed test

* [SEARCH-2317]
translated date into epoch in comparison with aggregate functions

* [SEARCH-2317]
fix wrong number of results in test

* [SEARCH-2317]
added sql date to epoch translation in having clause

* [SEARCH-2317]
Fix indentations

* [SEARCH-2317]
date are converted from UTC into epoch

Co-authored-by: Keerat <keerat.lalia@alfresco.com>
2020-07-29 12:44:27 +02:00
Alessandro Benedettiandelia 604ac1a8f0 Fix/search 2304 (#853)
* [SEARCH-2304]
using correct parser for solr dates

* [SEARCH-2304]
fix bug then fieldList is empty

* [SEARCH-2304] minor

* [SEARCH-2304] select, grouping and where support + tests

* [SEARCH-2304] code clean-up + tests

* [SEARCH-2304] SqlDateTransformer code conventions + review feedback

* [SEARCH-2304] DistributedCastTests code conventions + review feedback

* [SEARCH-2304] Distributed Grouping tests code conventions + review feedback

* [SEARCH-2304] e2e test

* [SEARCH-2304] e2e test

* [SEARCH-2304] e2e test

Co-authored-by: elia <e.porciani@sease.io>
2020-07-27 14:52:52 +02:00
Andrea Gazzarini a3d0986125 SEARCH-2330: enable/disable indexing (#856)
* [ SEARCH-2330 ] AlfrescoCoreAdminHandler START/STOP (no logic) + Unit tests

* [ SEARCH-2330 ] Activatable + ActivatableTracker

* [ SEARCH-2330 ] AbstractShardInformationPublisher and NodeStatePublisher removed (replaced by ShardStatePublisher)

* [ SEARCH-2330 ] Test fixes

* [ SEARCH-2330 ] Fix ClassCastException on ShardStatePublisher

* [ SEARCH-2330 ] Fix Unnecessary Stubbing

* [ SEARCH-2330 ] ActivatableTrackerTest

* [ SEARCH-2330 ] Fix action changes (it depends on the indexing state)

* [ SEARCH-2330 ] Purge on stop/start

* [ SEARCH-2330 ] Rollback on scheduled maintenance + Unit tests

* [ SEARCH-2330 ] Persist indexing state across core reloads

* [ SEARCH-2330 ] Minor renaming on tests

* [ SEARCH-2330 ] Fix Unit test failures

* [ SEARCH-2330 ] Fix E2E

* [ SEARCH-2330 ] Fix Retry expectation

* [ SEARCH-2330 ] Fix Json Path in retry expectaction

* [ SEARCH-2330 ] Fix ClassCastException

* [ SEARCH-2330 ] Review comments addressed

* [ SEARCH-2330 ] Review comments addressed (additional comments in the code)
2020-07-24 11:41:40 +02:00
dependabot[bot] 169da685da Merge pull request #848 from Alfresco/dependabot/maven/com.googlecode.maven-download-plugin-download-maven-plugin-1.6.0 2020-07-23 15:17:46 +00:00
Alex Mukha 32b77d7577 SEARCH-2198 Exclude solr dependencies 2020-07-23 14:29:31 +01:00
dependabot[bot] 823b306f2e Bump download-maven-plugin from 1.5.0 to 1.6.0
Bumps [download-maven-plugin](https://github.com/maven-download-plugin/maven-download-plugin) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/maven-download-plugin/maven-download-plugin/releases)
- [Commits](https://github.com/maven-download-plugin/maven-download-plugin/compare/1.5.0...1.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-23 12:35:26 +00:00
Alex Mukha 888fb690e1 SEARCH-2198 Move dependabot config in .github 2020-07-23 13:34:40 +01:00
Alex Mukha cf6ac0a547 SEARCH-2198 Add dependabot (#846) 2020-07-23 13:25:53 +01:00
Alessandro Benedetti ae21e90b21 Merge pull request #832 from Alfresco/feature/SEARCH-2255
SEARCH-2255 SQL avg(field) function is broken with multiple group by
2020-07-20 11:43:09 +02:00
Tom Page b7ba124bd7 Merge pull request #843 from Alfresco/dependabot/maven/search-services/org.alfresco-alfresco-data-model-8.135
Dependabot/maven/search services/org.alfresco alfresco data model 8.135
2020-07-16 16:00:40 +01:00
Alex Mukha 823a70e8e3 Merge pull request #844 from Alfresco/dependabot/maven/e2e-test/org.alfresco.tas-utility-3.0.26
Dependabot/maven/e2e test/org.alfresco.tas utility 3.0.26
2020-07-16 15:40:15 +01:00
Tom Page edb5bc4f6c Merge branch 'master' into dependabot/maven/e2e-test/org.alfresco.tas-utility-3.0.26 2020-07-16 11:49:13 +01:00
Tom Page 6519a85242 Update expected value of first name.
This change was made in tas-utility for consistency between first and last names.
2020-07-16 11:47:37 +01:00
Alex Mukha 3a2494a52c Merge pull request #840 from Alfresco/dependabot/maven/e2e-test/rm.version-3.3.1
Bump rm.version from 3.3.0.1 to 3.3.1 in /e2e-test
2020-07-16 11:17:19 +01:00
Alex Mukha 14e5aa8d0d Merge pull request #841 from Alfresco/dependabot/maven/search-services/com.carrotsearch.randomizedtesting-randomizedtesting-runner-2.7.8
Bump randomizedtesting-runner from 2.7.7 to 2.7.8 in /search-services
2020-07-16 11:16:48 +01:00
Tom Page c79a4ffa36 Update notice.txt for dom4j-2.1.3.
See https://github.com/dom4j/dom4j/blob/master/LICENSE
2020-07-16 11:16:29 +01:00
Alex Mukha 1d4bc81f25 Merge pull request #842 from Alfresco/dependabot/maven/search-services/org.mockito-mockito-core-3.4.0
Bump mockito-core from 3.3.0 to 3.4.0 in /search-services
2020-07-16 11:16:01 +01:00
Tom Page 535100822a Merge branch 'master' into dependabot/maven/e2e-test/rm.version-3.3.1 2020-07-16 11:10:36 +01:00
Tom Page c7043b1a46 Merge pull request #834 from Alfresco/feature/SearchLogLevel
Allow configuring the search log level in the Yeoman generator.
2020-07-16 10:02:14 +01:00
Tom Page 06a1649f14 Merge pull request #835 from Alfresco/feature/SEARCH-2356_DockerLogLevel
Feature/search 2356 docker log level
2020-07-16 10:02:00 +01:00
Tom Page d35606b3ce SEARCH-2356 Add documentation to the README about the various environment variables available. 2020-07-15 15:57:57 +01:00
Tom Page bce3d9c0fb SEARCH-2356 Add support for setting the default log level for search.
This can be passed in as an environment variable when starting the container.
2020-07-15 15:25:29 +01:00
Tom Page 5a47f748d3 Allow configuring the search log level. 2020-07-15 11:08:42 +01:00
alfresco-build e5d0c8b61b [maven-release-plugin] prepare for next development iteration 2.0.0-A2 2020-07-15 10:01:36 +00:00
alfresco-build aa7b32e981 [maven-release-plugin] prepare release 2.0.0-A2 2020-07-15 10:01:27 +00:00
dependabot-preview[bot] 379227122c Bump alfresco-data-model from 8.123 to 8.135 in /search-services
Bumps [alfresco-data-model](https://github.com/Alfresco/alfresco-data-model) from 8.123 to 8.135.
- [Release notes](https://github.com/Alfresco/alfresco-data-model/releases)
- [Commits](https://github.com/Alfresco/alfresco-data-model/compare/8.123...8.135)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-14 21:15:35 +00:00
dependabot-preview[bot] b36804d01e Bump utility from 3.0.21 to 3.0.26 in /e2e-test
Bumps [utility](https://github.com/Alfresco/alfresco-tas-utility) from 3.0.21 to 3.0.26.
- [Release notes](https://github.com/Alfresco/alfresco-tas-utility/releases)
- [Changelog](https://github.com/Alfresco/alfresco-tas-utility/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/Alfresco/alfresco-tas-utility/compare/utility-3.0.21...utility-3.0.26)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-14 21:14:39 +00:00
dependabot-preview[bot] 9d52f990dc Bump mockito-core from 3.3.0 to 3.4.0 in /search-services
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.3.0...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 21:14:57 +00:00
Alessandro Benedetti 315b4b4560 Merge remote-tracking branch 'origin/master' into feature/SEARCH-2255 2020-07-10 09:34:40 +02:00
dependabot-preview[bot] 7ea424fae2 Bump randomizedtesting-runner from 2.7.7 to 2.7.8 in /search-services
Bumps randomizedtesting-runner from 2.7.7 to 2.7.8.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 21:17:54 +00:00
Angel Borroy 01a60ff74a Merge pull request #828 from Alfresco/feature/SEARCH-1915_FixCryptoStores
SEARCH-1915: Generating again crypto stores with the new way of working.
2020-06-30 12:19:02 +02:00
Angel Borroy 1e52cb4758 SEARCH-1915: Generating again crypto stores with the new way of working. 2020-06-30 11:38:23 +02:00
Angel Borroy c4bb0840d9 Merge pull request #575 from Alfresco/feature/SEARCH-2041_UpdatePomSCM
SEARCH-2041: Move project from Git to GitHub
2020-06-25 15:59:07 +02:00
Angel Borroy 0c17b81d6f SEARCH-2041: Move project from Git to GitHub
Change Maven Git protocol from https to ssh
2020-06-25 13:18:53 +02:00
Alex Mukha 4ec595c29d SEARCH-2034 Add CODEOWNERS 2020-06-24 11:37:36 +01:00
Angel Borroy 5f41a04cae Merge pull request #574 from Alfresco/feature/SEARCH-2041_MoveToGitHub
SEARCH-2041: Move project from Git to GitHub
2020-06-24 10:15:06 +02:00
Angel Borroy cf6ad2b8e6 Update README.md 2020-06-24 09:51:12 +02:00
Angel Borroy d925801768 SEARCH-2041: Move project from Git to GitHub 2020-06-23 10:11:39 +02:00
Angel Borroy 41b0d226b1 Update README.md 2020-06-23 08:44:50 +01:00
Tom Page f7dbfba872 Merge branch 'feature/SEARCH-2271_ShardMethodEnum' into 'master'
SEARCH-2271 Refactor shardMethod to use enum.

See merge request search_discovery/insightengine!582
2020-06-23 08:33:34 +01:00
Tom Page b5c128bd46 SEARCH-2271 Refactor shardMethod to use enum.
This fixes a type-mismatch issue with equality testing.
2020-06-22 11:04:43 +01:00
Tom Page 05e0cf8c5d Merge branch 'feature/SEARCH-1915_DockerJavaToolOpts' into 'master'
SEARCH-1915: Use JAVA_TOOL_OPTIONS to pass SOLR SSL password values.

See merge request search_discovery/insightengine!581
2020-06-19 15:40:33 +01:00
Angel Borroy 4798e55884 SEARCH-1915: Use JAVA_TOOL_OPTIONS to pass SOLR SSL password values.
SOLR_SSL_TRUST_STORE_PASSWORD >> solr.jetty.truststore.password
SOLR_SSL_KEY_STORE_PASSWORD >> solr.jetty.keystore.password
SOLR_SSL_CLIENT_KEY_STORE_PASSWORD >> javax.net.ssl.keyStorePassword
SOLR_SSL_CLIENT_TRUST_STORE_PASSWORD >> javax.net.ssl.trustStorePassword
2020-06-19 16:27:30 +02:00
Angel Borroy d2f17198d6 Merge branch 'feature/SEARCH-2277_ApacheLicense' into 'master'
SEARCH-2277: Restore Apache License header to source code modified from Lucene Solr project.

See merge request search_discovery/insightengine!557
2020-06-18 14:34:45 +01:00
Angel Borroy 9b1f2407d1 SEARCH-2277: Restore Apache License header: modifications copyright. 2020-06-18 15:19:41 +02:00
Angel Borroy 4b723d5da1 SEARCH-2277: Restore Apache License header to source code modified from Lucene Solr project. 2020-06-18 15:03:03 +02:00