Commit Graph
2187 Commits
Author SHA1 Message Date
dependabot[bot] ffa58d9c19 Bump dependency.jackson.version from 2.10.3 to 2.11.1 (#847) 2020-08-05 10:36:25 +00:00
Alex Mukha 43805c9be8 Revert "SEARCH-2318: Add Travis configuration to Insight Engine" (#872) 2020-07-31 16:10:39 +01:00
Travis CI User 463ed3941c [maven-release-plugin][skip ci]prepare for next development iteration 2020-07-31 14:17:24 +00:00
Travis CI User 20de4e855d [maven-release-plugin][skip ci]prepare release alfresco-search-and-insight-parent-2.0.0-A3 2020-07-31 14:17:17 +00:00
Alex Mukha e68dd76c4f Merge branch 'master' into feature/search-2318-travis-build 2020-07-31 12:10:37 +01:00
elia 05b9c29a06 [SEARCH-2330]
fix formatting
2020-07-30 15:38:34 +02:00
elia 5ca47e88be [SEARCH-2330]
changed log messages at tracking enabling and disabling
2020-07-30 14:17:06 +02:00
Elia Porciani 8fb763f10a 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
Alex Mukha 36804ba332 Modify release command 2020-07-30 10:07:09 +01:00
Alex Mukha 3fc406e256 Merge branch 'master' into feature/search-2318-travis-build 2020-07-29 16:40:56 +01:00
Tom Page 5cdc58f6be SEARCH-2324 Update base Docker image. 2020-07-29 14:05:59 +01:00
Elia PorcianiandKeerat 5c6fb9148b 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
Alex Mukha fbc1f5eab0 Merge branch 'master' into feature/search-2318-travis-build 2020-07-27 16:01:51 +01:00
Alessandro Benedettiandelia eac4019948 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 4925ed95b7 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] ff4fde2eb3 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 b5c2bc3775 Merge branch 'master' into feature/search-2318-travis-build 2020-07-17 16:40:10 +01: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 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 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
alfresco-build e5d0c8b61b [maven-release-plugin] prepare for next development iteration 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] 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
Alex Mukha 423b3da5ec Change distribution management and repository URls 2020-07-08 14:35:47 +01: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
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
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
Andrea Gazzarini 70a9570e1d Merge branches 'fix/SEARCH-2303_npe_on_tracker_state' and 'master' of https://git.alfresco.com/search_discovery/insightengine into fix/SEARCH-2303_npe_on_tracker_state
 Conflicts:
	search-services/alfresco-search/src/main/java/org/alfresco/solr/tracker/AbstractTracker.java
2020-06-17 15:50:08 +01:00
Angel Borroy a7a477150f Merge branch 'fix/SEARCH-2118_OpenSSLRemoval' into 'master'
SEARCH-2118: Removing OpenSSL program from SS/IE Docker Images.

See merge request search_discovery/insightengine!546
2020-06-17 12:50:33 +01:00
Andrea Gazzarini 41fba16dae [ SEARCH-2303 ] Turn off / reset the tracker state silently 2020-06-17 08:11:30 +01:00
Angel Borroy 8dc8dbf010 Bump Spring Libraries version for notice.txt 2020-06-16 12:11:58 +02:00
Angel Borroy c3641bf91b SEARCH-2296: Bump alfresco-data-model version 2020-06-16 10:35:18 +02:00
Angel Borroy dc494362ea SEARCH-2296: Testing for the new "_unit_of_time_quarter" date part field. 2020-06-15 16:22:24 +02:00
Angel Borroy 07cc6af3f3 SEARCH-2296: Add new "_unit_of_time_quarter" date part field. 2020-06-15 16:21:53 +02:00
Angel Borroy 78a801fea7 SEARCH-2118: Removing OpenSSL program from SS/IE Docker Images. 2020-06-15 11:04:57 +02:00
Elia Porciani 3d45956f14 [SEARCH-2279]
Registration to ACS is handled by a specific tracker
2020-06-15 08:26:24 +01:00
dependabot-preview[bot] c246bbb2b5 Bump alfresco-data-model from 8.117 to 8.119 in /search-services
Bumps [alfresco-data-model](https://github.com/Alfresco/alfresco-data-model) from 8.117 to 8.119.
- [Release notes](https://github.com/Alfresco/alfresco-data-model/releases)
- [Commits](https://github.com/Alfresco/alfresco-data-model/compare/8.117...8.119)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 21:12:41 +00:00
Angel Borroy f7246c09de Merge branch 'master' into 'feature/SEARCH-1915_SSLEnvVars'
# Conflicts:
#   search-services/alfresco-solrclient-lib/pom.xml
2020-06-10 12:35:31 +01:00
Alessandro Benedetti 494bd461e9 Merge remote-tracking branch 'origin/master' into feature/SEARCH-2228-phrase
# Conflicts:
#	search-services/alfresco-search/src/main/java/org/alfresco/solr/AlfrescoSolrDataModel.java
2020-06-10 11:34:58 +01:00
Angel Borroy e6d3511101 SEARCH-1915: Cherry-picking selected changes from https://git.alfresco.com/search_discovery/insightengine/tree/fix/search-1915 2020-06-10 11:24:36 +02:00
Angel Borroy c3b4e92ad6 Merge branch 'fix/SEARCH-2238_ShardGrouping' into 'master'
SEARCH-2238: Avoid setting the core name in Floc properties, as this provokes...

See merge request search_discovery/insightengine!540
2020-06-08 16:37:46 +01:00
agazzarini f62dee499e [ SEARCH-2166 ] Conflicts with master fixed 2020-06-08 11:14:22 +02:00
agazzarini f32945ae6c Merge branches 'feature/SEARCH-2166_DateFunctionWhere' and 'master' of https://git.alfresco.com/search_discovery/insightengine into feature/SEARCH-2166_DateFunctionWhere
 Conflicts:
	search-services/alfresco-search/src/main/java/org/alfresco/solr/AlfrescoSolrDataModel.java
2020-06-08 11:05:05 +02:00
Angel Borroy cdd90e0c37 SEARCH-2238: Avoid setting the core name in Floc properties, as this provokes the Flocs belonging a group being different and, hence, not being grouped by ShardRegistry logic. 2020-06-08 10:36:23 +02:00
Andrea Gazzarini b83bcb334b [ SEARCH-2223 ] First implementation on FIX report (always goes through repo for asking nodes count) 2020-06-08 09:05:01 +01:00