jackrabbit-oak.git
7 months agoUpdate oak-doc/src/site/markdown/query/elastic.md 497/head
Thomas Mueller [Tue, 22 Feb 2022 14:29:17 +0000 (15:29 +0100)] 
Update oak-doc/src/site/markdown/query/elastic.md

Co-authored-by: chibulcuteanu <paul.chibulcuteanu@gmail.com>
7 months agoOAK-9699 Document Elastic Indexes
Thomas Mueller [Tue, 22 Feb 2022 10:40:35 +0000 (11:40 +0100)] 
OAK-9699 Document Elastic Indexes

7 months agoOAK-9699 Document Elastic Indexes
Thomas Mueller [Tue, 22 Feb 2022 10:39:44 +0000 (11:39 +0100)] 
OAK-9699 Document Elastic Indexes

7 months agoUpdate oak-doc/src/site/markdown/query/elastic.md
Thomas Mueller [Tue, 22 Feb 2022 10:36:00 +0000 (11:36 +0100)] 
Update oak-doc/src/site/markdown/query/elastic.md

Co-authored-by: chibulcuteanu <paul.chibulcuteanu@gmail.com>
7 months agoUpdate oak-doc/src/site/markdown/query/elastic.md
Thomas Mueller [Tue, 22 Feb 2022 10:35:32 +0000 (11:35 +0100)] 
Update oak-doc/src/site/markdown/query/elastic.md

Co-authored-by: chibulcuteanu <paul.chibulcuteanu@gmail.com>
7 months agoOAK-9699 Document Elastic Indexes
Thomas Mueller [Fri, 18 Feb 2022 15:20:25 +0000 (16:20 +0100)] 
OAK-9699 Document Elastic Indexes

7 months agoOAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch (#494)
Jun Zhang [Fri, 18 Feb 2022 13:25:44 +0000 (05:25 -0800)] 
OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch (#494)

* OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch

* OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch: improvement for code review

* OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch: change the index field to fixed one

* OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch: fixed the document storing proper outside the loop

* OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch: add tests to cover multiple boost fields query

* OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch: use fulltext field to store dynamic boost tags

7 months agoMerge pull request #470 from klcodanr/OAK-9672
Thomas Mueller [Thu, 17 Feb 2022 15:52:11 +0000 (16:52 +0100)] 
Merge pull request #470 from klcodanr/OAK-9672

OAK-9672 - Adding checks to support setting null values in oak-commons JSON

7 months agoMerge pull request #485 from joerghoh/improvement/OAK-9612-no-runtime-exceptions
anchela [Tue, 15 Feb 2022 10:35:44 +0000 (11:35 +0100)] 
Merge pull request #485 from joerghoh/improvement/OAK-9612-no-runtime-exceptions

OAK-9612 Convert ReadOnlyBuilder's exceptions into RepositoryExcept…

7 months agoOAK-9587 Add an attribute to enforce a strict index tag check (selectionPolicy)
Thomas Mueller [Tue, 15 Feb 2022 10:20:10 +0000 (11:20 +0100)] 
OAK-9587 Add an attribute to enforce a strict index tag check (selectionPolicy)

7 months agoOAK-9612 implement PR feedback 485/head
Joerg Hoh [Fri, 11 Feb 2022 16:05:44 +0000 (17:05 +0100)] 
OAK-9612 implement PR feedback

7 months agoOAK-9687: expose additional elastic metrics (#487)
Fabrizio Fortino [Fri, 11 Feb 2022 13:40:34 +0000 (14:40 +0100)] 
OAK-9687: expose additional elastic metrics (#487)

* OAK-9687 (refactor): move common IndexMBean behaviour in oak-search

* OAK-9687 (refactor): move tracker code out of the query package

* OAK-9687 (refactor): move more generic stuff out of the query package

* OAK-9687: add index path as label in metrics

* OAK-9687: revisited elastic metrics

* OAK-9687: removed PropertyUpdateCallback. Metrics are updated when the writer gets closed

* OAK-9687: reverted mbean changes (to be moved in a separate PR)

* OAK-9687: added more tests around metrics

7 months agoOAK-9612 implement PR feedback and add test coverage
Joerg Hoh [Fri, 11 Feb 2022 10:50:51 +0000 (11:50 +0100)] 
OAK-9612 implement PR feedback and add test coverage

7 months agoOAK-9691 Improve fulltext query syntax support for ElasticSearch (#489)
Jun Zhang [Fri, 11 Feb 2022 09:12:22 +0000 (01:12 -0800)] 
OAK-9691 Improve fulltext query syntax support for ElasticSearch (#489)

7 months agoMerge pull request #488 from smiroslav/issue/OAK-9689
Miroslav Smiljanic [Thu, 10 Feb 2022 15:53:50 +0000 (16:53 +0100)] 
Merge pull request #488 from smiroslav/issue/OAK-9689

When BlobEndpoint is not configured use AccountName in connection string for Azure blob store connector

7 months agoMerge pull request #486 from jelmini/feature/sas_uri_support_2
Miroslav Smiljanic [Thu, 10 Feb 2022 10:30:02 +0000 (11:30 +0100)] 
Merge pull request #486 from jelmini/feature/sas_uri_support_2

OAK-9680 Add support for Azure SAS URIs to oak-segment-azure

7 months agoOAK-9689 Enable configuring connection string wiht SAS URI and account name 488/head
smiroslav [Wed, 9 Feb 2022 16:00:01 +0000 (17:00 +0100)] 
OAK-9689 Enable configuring connection string wiht SAS URI and account name

7 months agoOAK-9680 Add support for Azure SAS URIs to oak-segment-azure 486/head
Carlo Jelmini [Wed, 2 Feb 2022 18:57:34 +0000 (19:57 +0100)] 
OAK-9680 Add support for Azure SAS URIs to oak-segment-azure

Add support for SAS URIs to utility code.

7 months agoOAK-9612 rename exception, add license headers
Joerg Hoh [Tue, 8 Feb 2022 17:18:07 +0000 (18:18 +0100)] 
OAK-9612 rename exception, add license headers

7 months agoMerge pull request #479 from jelmini/feature/sas_uri_support
Miroslav Smiljanic [Tue, 8 Feb 2022 16:11:00 +0000 (17:11 +0100)] 
Merge pull request #479 from jelmini/feature/sas_uri_support

OAK-9680 Add support for Azure SAS URIs to oak-segment-azure

7 months agoSLING-9612 Convert ReadOnlyBuilder's exceptions into RepositoryExceptions
Joerg Hoh [Tue, 8 Feb 2022 14:17:02 +0000 (15:17 +0100)] 
SLING-9612 Convert ReadOnlyBuilder's exceptions into RepositoryExceptions

7 months agoMerge pull request #484 from apache/OAK-9681-b
Thomas Mueller [Mon, 7 Feb 2022 08:45:25 +0000 (09:45 +0100)] 
Merge pull request #484 from apache/OAK-9681-b

OAK-9681 oak-doc-railroad-macro build broken by h2db update

7 months agoOAK-9681 oak-doc-railroad-macro build broken by h2db update 484/head
Thomas Mueller [Mon, 7 Feb 2022 08:15:13 +0000 (09:15 +0100)] 
OAK-9681 oak-doc-railroad-macro build broken by h2db update

7 months agoOAK-9685: bump testcontainers to v1.16.3 (#482)
Fabrizio Fortino [Fri, 4 Feb 2022 10:11:31 +0000 (11:11 +0100)] 
OAK-9685: bump testcontainers to v1.16.3 (#482)

7 months agoOAK-9683 Bump elasticsearch version to 7.16.3 (#481)
Angela Fabregues [Fri, 4 Feb 2022 07:58:21 +0000 (08:58 +0100)] 
OAK-9683 Bump elasticsearch version to 7.16.3 (#481)

* OAK-9683 Bump elasticsearch version to 7.16.3

* OAK-9683 Bump elasticsearch version to 7.16.3

* OAK-9683 Bump elasticsearch version to 7.16.3

* OAK-9683 Bump elasticsearch version to 7.16.3

Co-authored-by: Angela Fabregues <angela.fabregues@netcentric.biz>
7 months agoOAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test co… (#469)
Jun Zhang [Fri, 4 Feb 2022 07:55:26 +0000 (23:55 -0800)] 
OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test co… (#469)

* OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test coverage

* OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test coverage: remove some unsupported query test

* OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test coverage: fix case insensitive query for dynamicBoostLite and adding tests

* OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test coverage: fix dynamic boost lite query with space issue, explained as OR

* OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test coverage: fix DynamicBoostLite to make it fully support the lucene fulltext query syntax

* OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test coverage: clean up tests

7 months agoOAK-9684: avoid ingesting feature vectors with wrong size (#480)
Fabrizio Fortino [Thu, 3 Feb 2022 14:25:22 +0000 (15:25 +0100)] 
OAK-9684: avoid ingesting feature vectors with wrong size (#480)

* OAK-9684: avoid ingesting feature vectors with wrong size

* OAK-9684: add node path in wrong vector size warning

7 months agoOAK-9680 Add support for Azure SAS URIs to oak-segment-azure 479/head
Carlo Jelmini [Mon, 31 Jan 2022 18:56:46 +0000 (19:56 +0100)] 
OAK-9680 Add support for Azure SAS URIs to oak-segment-azure

Allow using Shared Access Signature URI to connect to Azure Storage.

8 months agoOAK-9665 | Unparseable date property causes entire node to fail indexing (#477) feature/OAK-9680_SAS-uri-support
nit0906 [Mon, 31 Jan 2022 17:06:51 +0000 (22:36 +0530)] 
OAK-9665 | Unparseable date property causes entire node to fail indexing (#477)

8 months agoMerge pull request #443 from jelmini/issues/composite_multi_mounts
Miroslav Smiljanic [Fri, 28 Jan 2022 12:09:15 +0000 (13:09 +0100)] 
Merge pull request #443 from jelmini/issues/composite_multi_mounts

OAK-9553: Add config support for multiple mounts in CompositeNodeStore

8 months agoMerge pull request #472 from jelmini/issues/bugfix_ignored_mounts
Miroslav Smiljanic [Thu, 27 Jan 2022 14:17:08 +0000 (15:17 +0100)] 
Merge pull request #472 from jelmini/issues/bugfix_ignored_mounts

OAK-9676 Mounted paths are not ignored anymore

8 months agoOAK-9676 Mounted paths are not ignored anymore 472/head
Carlo Jelmini [Wed, 26 Jan 2022 14:51:55 +0000 (15:51 +0100)] 
OAK-9676 Mounted paths are not ignored anymore

All mount paths should be considered when checking for mounts directly
under a path for composite node stores.

8 months agoMove PaxExam dependencies to dependencyManagement; fix oak-it-osgi 443/head
Carlo Jelmini [Mon, 24 Jan 2022 17:32:49 +0000 (18:32 +0100)] 
Move PaxExam dependencies to dependencyManagement; fix oak-it-osgi

8 months agoAdd PaxExam integration tests to oak-store-composite
Carlo Jelmini [Thu, 13 Jan 2022 13:48:22 +0000 (14:48 +0100)] 
Add PaxExam integration tests to oak-store-composite

8 months agoOAK-9662 | Support not equal condition in query from Index (#465)
nit0906 [Mon, 24 Jan 2022 10:34:45 +0000 (16:04 +0530)] 
OAK-9662 | Support not equal condition in query from Index (#465)

8 months agoOAK-9673 : JackrabbitAccessControlManagerDelegator should implement privilegeCollecti...
angela [Fri, 21 Jan 2022 08:57:45 +0000 (09:57 +0100)] 
OAK-9673 : JackrabbitAccessControlManagerDelegator should implement privilegeCollectionFromNames
OAK-9674 : AbstractAccessControlManager.privilegeCollectionFromNames should validate the passed privilege names

8 months agoUpdating as per suggested change 470/head
Dan Klco [Thu, 20 Jan 2022 15:58:12 +0000 (10:58 -0500)] 
Updating as per suggested change

8 months agoUpdate oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsonObject...
Thomas Mueller [Thu, 20 Jan 2022 07:38:31 +0000 (08:38 +0100)] 
Update oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsonObject.java

Co-authored-by: Julian Reschke <julian.reschke@gmx.de>
8 months agoOAK-9672 - Adding checks to support setting null values in oak-commons JSON
Dan Klco [Wed, 19 Jan 2022 19:54:19 +0000 (14:54 -0500)] 
OAK-9672 - Adding checks to support setting null values in oak-commons JSON

8 months agoOAK-9668 Update H2DB dependency (#466)
Thomas Mueller [Tue, 18 Jan 2022 17:43:33 +0000 (18:43 +0100)] 
OAK-9668 Update H2DB dependency (#466)

* OAK-9668 Update H2DB dependency

* OAK-9668: Update H2DB dependency

Update dependency to 2.0.206

* OAK-9668 : move cast and binarySearch to DataTypeUtil

* OAK-9668: Update H2DB dependency

Use 1MB block size for test with RDBBlobStore on H2

* OAK-9668: Update H2DB dependency

Revert change of expected size. Disable test instead on H2

Co-authored-by: Marcel Reutegger <marcel.reutegger@gmail.com>
Co-authored-by: Stefan Egli <stefanegli@apache.org>
8 months agoMerge pull request #467 from blackfor/OAK-9670
Thomas Mueller [Tue, 18 Jan 2022 15:08:45 +0000 (16:08 +0100)] 
Merge pull request #467 from blackfor/OAK-9670

OAK-9670 : log at WARN level for fulltext query without index

8 months agoOAK-9670 : drop message to WARN 467/head
blackfor [Tue, 18 Jan 2022 15:06:55 +0000 (15:06 +0000)] 
OAK-9670 : drop message to WARN

8 months agoOAK-9670 : fix whitespace
blackfor [Tue, 18 Jan 2022 14:52:08 +0000 (14:52 +0000)] 
OAK-9670 : fix whitespace

8 months agoOAK-9670 : log at ERROR level for fulltext query without index
blackfor [Tue, 18 Jan 2022 14:49:51 +0000 (14:49 +0000)] 
OAK-9670 : log at ERROR level for fulltext query without index

Fulltext queries cannot be handled by traversal, so we need to highlight prominently when a fulltext query has been issues but no appropriate index can be found.

8 months agoMerge pull request #464 from Joscorbe/oak-9564-fixed
Marcel Reutegger [Mon, 17 Jan 2022 07:32:54 +0000 (08:32 +0100)] 
Merge pull request #464 from Joscorbe/oak-9564-fixed

OAK-9564 (Bugfixed): Make the renewLease mechanism a bit more tolerant against unexpected updates

8 months agoOAK-9649 - Improve multithreaded download retry strategy during indexing (#450)
Amrit Verma [Mon, 17 Jan 2022 06:30:41 +0000 (12:00 +0530)] 
OAK-9649 - Improve multithreaded download retry strategy during indexing (#450)

* Fix resume issues and simplify tests
* Adding new tests
* Improving documentation

8 months agoOAK-9564: Allow to acquire recovered and disposed clusters. 464/head
José Cordero [Sun, 16 Jan 2022 20:20:05 +0000 (21:20 +0100)] 
OAK-9564: Allow to acquire recovered and disposed clusters.

8 months agoOAK-9564: Make the renewLease mechanism a bit more tolerant against unexpected updates
José Cordero [Sun, 16 Jan 2022 19:51:31 +0000 (20:51 +0100)] 
OAK-9564: Make the renewLease mechanism a bit more tolerant against unexpected updates

8 months agoOAK-9564: Improved logging for runtime id and allow to acquire recovered and disposed...
José Cordero [Sun, 16 Jan 2022 19:46:40 +0000 (20:46 +0100)] 
OAK-9564: Improved logging for runtime id and allow to acquire recovered and disposed clusters.

8 months agoMerge pull request #458 from apache/OAK-9663
anchela [Fri, 14 Jan 2022 09:09:22 +0000 (10:09 +0100)] 
Merge pull request #458 from apache/OAK-9663

OAK-9663 : Configuration option for allowed system-principals in ExternalPrincipalConfiguration

8 months agoMerge pull request #459 from apache/OAK-9664
Thomas Mueller [Fri, 14 Jan 2022 08:51:14 +0000 (09:51 +0100)] 
Merge pull request #459 from apache/OAK-9664

OAK-9664

8 months agoOAK-9663 : Configuration option for allowed system-principals in ExternalPrincipalCon... 458/head
angela [Wed, 12 Jan 2022 18:28:00 +0000 (19:28 +0100)] 
OAK-9663 : Configuration option for allowed system-principals in ExternalPrincipalConfiguration

8 months agoOAK-9664 459/head
Thomas Mueller [Wed, 12 Jan 2022 15:22:08 +0000 (16:22 +0100)] 
OAK-9664

Reduce Slow Query threshold

8 months agoMerge pull request #429 from jelmini/issues/persistent-disk-cache
Miroslav Smiljanic [Wed, 12 Jan 2022 14:25:48 +0000 (15:25 +0100)] 
Merge pull request #429 from jelmini/issues/persistent-disk-cache

OAK-9197 Fix PersistentDiskCache cleanup

8 months agoMerge branch 'trunk' into issues/persistent-disk-cache 429/head
Miroslav Smiljanic [Wed, 12 Jan 2022 14:25:10 +0000 (15:25 +0100)] 
Merge branch 'trunk' into issues/persistent-disk-cache

8 months agoMerge pull request #428 from jelmini/issues/persistent-redis-cache
Miroslav Smiljanic [Wed, 12 Jan 2022 14:15:25 +0000 (15:15 +0100)] 
Merge pull request #428 from jelmini/issues/persistent-redis-cache

OAK-9181 Fix PersistentRedisCache connection timeout configuration

8 months agoBump org.apache.jackrabbit.oak.segment.remote.persistentcache to 1.0.0
Carlo Jelmini [Wed, 1 Dec 2021 11:07:43 +0000 (12:07 +0100)] 
Bump org.apache.jackrabbit.oak.segment.remote.persistentcache to 1.0.0

8 months agoBump org.apache.jackrabbit.oak.segment.remote.persistentcache to 1.0.0 428/head
Carlo Jelmini [Wed, 12 Jan 2022 13:46:12 +0000 (14:46 +0100)] 
Bump org.apache.jackrabbit.oak.segment.remote.persistentcache to 1.0.0

8 months agoOAK-9663 : Configuration option for allowed system-principals in ExternalPrincipalCon...
angela [Wed, 12 Jan 2022 12:37:33 +0000 (13:37 +0100)] 
OAK-9663 : Configuration option for allowed system-principals in ExternalPrincipalConfiguration

8 months agoUse OSGi R6 annotations
Carlo Jelmini [Mon, 10 Jan 2022 16:25:39 +0000 (17:25 +0100)] 
Use OSGi R6 annotations

8 months agoOAK-9661 | Update solr version to 8.11.1 (#457)
nit0906 [Tue, 11 Jan 2022 08:24:59 +0000 (13:54 +0530)] 
OAK-9661 | Update solr version to 8.11.1 (#457)

Co-authored-by: Nitin Gupta <nitigup@adobe.com>
8 months agoMerge pull request #453 from mreutegg/OAK-9656
Marcel Reutegger [Mon, 10 Jan 2022 17:25:54 +0000 (18:25 +0100)] 
Merge pull request #453 from mreutegg/OAK-9656

OAK-9656: Recovery runs mistakenly when system clock jumps ahead

8 months agoOAK-9656: Recovery runs mistakenly when system clock jumps ahead 453/head
Marcel Reutegger [Mon, 10 Jan 2022 15:49:33 +0000 (16:49 +0100)] 
OAK-9656: Recovery runs mistakenly when system clock jumps ahead

Fail recovery with exception when it detects lease expired

8 months agoOAK-9656: Recovery runs mistakenly when system clock jumps ahead
Marcel Reutegger [Mon, 10 Jan 2022 14:50:59 +0000 (15:50 +0100)] 
OAK-9656: Recovery runs mistakenly when system clock jumps ahead

Restructure code a bit as suggested by Stefan Egli

8 months agoOAK-9656: Recovery runs mistakenly when system clock jumps ahead
Marcel Reutegger [Mon, 10 Jan 2022 08:07:47 +0000 (09:07 +0100)] 
OAK-9656: Recovery runs mistakenly when system clock jumps ahead

8 months agoOAK-9656: Recovery runs mistakenly when system clock jumps ahead
Marcel Reutegger [Fri, 7 Jan 2022 08:34:44 +0000 (09:34 +0100)] 
OAK-9656: Recovery runs mistakenly when system clock jumps ahead

Let recovery proceed on expired lease for self recovery on startup
Fix some tests that run recovery with an expired lease

8 months agoOAK-9656: Recovery runs mistakenly when system clock jumps ahead
Marcel Reutegger [Thu, 6 Jan 2022 17:08:53 +0000 (18:08 +0100)] 
OAK-9656: Recovery runs mistakenly when system clock jumps ahead

Proposed fix and enable test.

8 months agoOAK-9656: Recovery runs mistakenly when system clock jumps ahead
Marcel Reutegger [Thu, 6 Jan 2022 15:50:55 +0000 (16:50 +0100)] 
OAK-9656: Recovery runs mistakenly when system clock jumps ahead

Test to reproduce problem.

8 months agoMerge pull request #456 from mreutegg/OAK-9655-next
Marcel Reutegger [Mon, 10 Jan 2022 14:34:47 +0000 (15:34 +0100)] 
Merge pull request #456 from mreutegg/OAK-9655-next

OAK-9655: Release Oak 1.42.0

8 months agoOAK-9655: Release Oak 1.42.0 456/head
Marcel Reutegger [Mon, 10 Jan 2022 13:35:39 +0000 (14:35 +0100)] 
OAK-9655: Release Oak 1.42.0

Set version to 1.43-SNAPSHOT for next development iteration

8 months agoMerge pull request #455 from apache/revert-359-OAK-9564
Marcel Reutegger [Mon, 10 Jan 2022 12:15:13 +0000 (13:15 +0100)] 
Merge pull request #455 from apache/revert-359-OAK-9564

Revert "OAK-9564: Make the renewLease mechanism a bit more tolerant against unexpected updates"

8 months agoRevert "OAK-9564: Make the renewLease mechanism a bit more tolerant against unexpecte... 455/head
Marcel Reutegger [Mon, 10 Jan 2022 10:58:36 +0000 (11:58 +0100)] 
Revert "OAK-9564: Make the renewLease mechanism a bit more tolerant against unexpected updates"

8 months agoMerge pull request #454 from mreutegg/OAK-9658
Marcel Reutegger [Fri, 7 Jan 2022 14:47:04 +0000 (15:47 +0100)] 
Merge pull request #454 from mreutegg/OAK-9658

OAK-9658: Update flapdoodle version to 3.2.6

8 months agoMerge pull request #359 from Joscorbe/OAK-9564
Marcel Reutegger [Fri, 7 Jan 2022 14:24:41 +0000 (15:24 +0100)] 
Merge pull request #359 from Joscorbe/OAK-9564

OAK-9564: Make the renewLease mechanism a bit more tolerant against unexpected updates

8 months agoOAK-9658: Update flapdoodle version to 3.2.6 454/head
Marcel Reutegger [Fri, 7 Jan 2022 12:20:35 +0000 (13:20 +0100)] 
OAK-9658: Update flapdoodle version to 3.2.6

8 months agoMerge pull request #452 from apache/OAK-9653
Thomas Mueller [Fri, 7 Jan 2022 08:34:10 +0000 (09:34 +0100)] 
Merge pull request #452 from apache/OAK-9653

OAK-9653 Adding the index tag option interferes with regex properties

8 months agoOAK-9654 : Catch a guava NullPointerException, warn instead (#449)
stefan-egli [Thu, 6 Jan 2022 16:23:53 +0000 (17:23 +0100)] 
OAK-9654 : Catch a guava NullPointerException, warn instead (#449)

* OAK-9535 related : trying to increase mvn memory

* OAK-9535 related : cleanup of erroneously pushed change

* OAK-9654 : more logging for a RuntimeException

* OAK-9654 : reduced to a warn instead of error+rethrow

8 months agoReapply suggestions by Marcel, reverted for some reason. 359/head
José Cordero [Thu, 6 Jan 2022 16:11:59 +0000 (17:11 +0100)] 
Reapply suggestions by Marcel, reverted for some reason.

8 months agoMerge branch 'apache:trunk' into OAK-9564
José Andrés Cordero Benítez [Thu, 6 Jan 2022 16:03:00 +0000 (17:03 +0100)] 
Merge branch 'apache:trunk' into OAK-9564

8 months agoEnsure the new leaseEnd time is applied, as UpdateOp.max() won't allow to set a lower...
José Cordero [Thu, 6 Jan 2022 14:58:29 +0000 (15:58 +0100)] 
Ensure the new leaseEnd time is applied, as UpdateOp.max() won't allow to set a lower time.

8 months agoOAK-9653 Adding the index tag option interferes with regex properties 452/head
Thomas Mueller [Thu, 6 Jan 2022 14:13:33 +0000 (15:13 +0100)] 
OAK-9653 Adding the index tag option interferes with regex properties

8 months agoMerge pull request #451 from smiroslav/issue/OAK-9655
Miroslav Smiljanic [Thu, 6 Jan 2022 09:26:08 +0000 (10:26 +0100)] 
Merge pull request #451 from smiroslav/issue/OAK-9655

OAK-9655 updated release notes

8 months agoOAK-9655 updated release notes 451/head
smiroslav [Thu, 6 Jan 2022 09:20:13 +0000 (10:20 +0100)] 
OAK-9655 updated release notes

8 months agoOAK-9651: Protection against very large queries (#446)
Mohit Kataria [Wed, 5 Jan 2022 14:12:25 +0000 (19:42 +0530)] 
OAK-9651: Protection against very large queries (#446)

* OAK-9651: Protection against very large queries

8 months agoMerge pull request #445 from mreutegg/OAK-9648
Marcel Reutegger [Tue, 4 Jan 2022 10:48:32 +0000 (11:48 +0100)] 
Merge pull request #445 from mreutegg/OAK-9648

OAK-9648: Jenkins build fails with timeout

8 months agoSupport allowLeadingWildcard for elastic (#424)
nit0906 [Tue, 4 Jan 2022 05:50:42 +0000 (11:20 +0530)] 
Support allowLeadingWildcard for elastic (#424)

* Support allowLeadingWildcard for elastic

8 months agoMerge pull request #447 from apache/OAK-9652
Julian Reschke [Mon, 3 Jan 2022 15:33:27 +0000 (16:33 +0100)] 
Merge pull request #447 from apache/OAK-9652

OAK-9652: Update Logback version to 1.2.10

8 months agoOAK-9652: Update Logback version to 1.2.10 447/head
Julian Reschke [Mon, 3 Jan 2022 14:34:46 +0000 (15:34 +0100)] 
OAK-9652: Update Logback version to 1.2.10

9 months agoOAK-9647: oak-search-elastic: nullCheckEnabled and notNullCheckEnabled queries not...
Fabrizio Fortino [Thu, 23 Dec 2021 15:14:02 +0000 (16:14 +0100)] 
OAK-9647: oak-search-elastic: nullCheckEnabled and notNullCheckEnabled queries not working as expected (#444)

* OAK-9647: remove duplicate (unused) constants

* OAK-9647: remove duplicate propertyExistenceQuery, already present in common tests

* OAK-9647: remove unneeded not null check on index definition

* OAK-9647: no need to index nullProps and notNullProps in elastic. Move propertyExistence test in common tests

* OAK-9647: handle notNull and null queries with exist/mustNotExist

* OAK-9647: improved tests

9 months agoOAK-8910 Improve OAK Lucene Index Documentation
Thomas Mueller [Thu, 23 Dec 2021 13:33:40 +0000 (14:33 +0100)] 
OAK-8910 Improve OAK Lucene Index Documentation

9 months agoOAK-9644: Flaky test due to HashSet (#442)
Marcel Reutegger [Mon, 20 Dec 2021 14:43:49 +0000 (15:43 +0100)] 
OAK-9644: Flaky test due to HashSet (#442)

* OAK-9644: Flaky test due to HashSet
Use sorted stream as suggested by Carlo Jelmini
PR originally proposed by LeoYimingLi, thx!

9 months agoOAK-9648: Jenkins build fails with timeout 445/head
Marcel Reutegger [Fri, 17 Dec 2021 16:13:01 +0000 (17:13 +0100)] 
OAK-9648: Jenkins build fails with timeout

Dispose repository after test

9 months agoOAK-9553: Add config support for multiple mounts in CompositeNodeStore
Carlo Jelmini [Mon, 1 Nov 2021 08:37:14 +0000 (09:37 +0100)] 
OAK-9553: Add config support for multiple mounts in CompositeNodeStore

Add MountInfoConfig configuration factory, which can be used to
configure multiple read-only mounts.
MountInfoProviderService can now be configured with the list of expected
mounts, so it can wait for all of them before registering a
MountInfoProvider.
For backward-compatibility, MountInfoProviderService can still be used
to configure a single read-only mount, but all such properties are now
marked as deprecated.

9 months agoOAK-9648: Jenkins build fails with timeout
Marcel Reutegger [Fri, 17 Dec 2021 13:25:39 +0000 (14:25 +0100)] 
OAK-9648: Jenkins build fails with timeout

9 months agoMerge pull request #441 from apache/OAK-9645
Julian Reschke [Thu, 16 Dec 2021 12:56:37 +0000 (13:56 +0100)] 
Merge pull request #441 from apache/OAK-9645

OAK-9645: oak-solr-core - avoid transitive log4j test dependency

9 months agoOAK-9645: oak-solr-core - avoid transitive log4j test dependency 441/head
Julian Reschke [Thu, 16 Dec 2021 11:52:35 +0000 (12:52 +0100)] 
OAK-9645: oak-solr-core - avoid transitive log4j test dependency

9 months agoReverted "lessThan" operation and replaced by simply using "max" UpdateOP in Mongo.
José Cordero [Tue, 14 Sep 2021 13:39:01 +0000 (15:39 +0200)] 
Reverted "lessThan" operation and replaced by simply using "max" UpdateOP in Mongo.

9 months agoSome improvements to the logic of the test.
José Cordero [Mon, 13 Sep 2021 15:11:48 +0000 (17:11 +0200)] 
Some improvements to the logic of the test.

9 months agoFixing some tests. Added missing logic for delay operations once and edit the returne...
José Cordero [Mon, 13 Sep 2021 13:44:56 +0000 (15:44 +0200)] 
Fixing some tests. Added missing logic for delay operations once and edit the returned document.

9 months agoRemoved previousLeaseEndTime, as it's not needed anymore
José Cordero [Mon, 13 Sep 2021 12:04:18 +0000 (14:04 +0200)] 
Removed previousLeaseEndTime, as it's not needed anymore