Commit Graph
5017 Commits
Author SHA1 Message Date
agazzarini b8c929a4e3 [ SEARCH-2222 ] Manual merging of https://git.alfresco.com/search_discovery/insightengine/merge_requests/488 2020-05-06 16:48:31 +02:00
agazzarini 323459f585 Merge branches 'feature/SEARCH_2222_merge_master_in_2_0' and 'master' of https://git.alfresco.com/search_discovery/insightengine into feature/SEARCH_2222_merge_master_in_2_0
 Conflicts:
	search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java
2020-05-06 16:02:33 +02:00
Tom Page e011d8faa4 Merge branch 'feature/SEARCH-2223_SolrInformationServerExceptions' into 'master'
SEARCH-2223 Revert some exception handling in SolrInformationServer to fix intermittent tests.

See merge request search_discovery/insightengine!488
2020-05-06 10:09:21 +01:00
Tom Page b2d35e9cb1 SEARCH-2223 Update debug log message to avoid repeating huge JSON blob. 2020-05-06 09:15:06 +01:00
agazzarini c5cef2ab44 [ SEARCH-2222 ] FMap Test fixes 2020-05-06 09:15:46 +02:00
agazzarini 5d531554f2 [ SEARCH-2222 ] Deal with immutable fields list 2020-05-06 08:33:41 +02:00
agazzarini 80e9267939 [ SEARCH-2222 ] Merge master in 2.0 2020-05-05 18:02:34 +02:00
Tom Page c339fbee5e SEARCH-2223 Fix javadoc references. 2020-05-05 14:29:37 +01:00
Tom Page 8db9be7a60 SEARCH-2223 Revert some exception handling in SolrInformationServer to fix intermittent tests. 2020-05-05 12:37:22 +01:00
Andrea Gazzarini 66ab2aa6bc Merge branch 'feature/SEARCH_2171_datamodel_change' into 'release/V2.0.x'
Feature/search 2171 datamodel change

See merge request search_discovery/insightengine!485
2020-05-04 14:02:28 +01:00
Andrea Gazzarini 7644350310 Feature/search 2171 datamodel change 2020-05-04 14:02:28 +01:00
Keerat Lalia 6566d9c1bc Merge branch 'feature/SEARCH-2121_AddingTestGroups' into 'master'
SEARCH-2121 Adding test group to failing tests with cascade tracking disabled

See merge request search_discovery/insightengine!484
2020-05-01 09:56:11 +01:00
Keerat 3edaf416bc SEARCH-2121 Changing Test Group Name to CONFIG_ENABLED_CASCADE_TRACKER 2020-05-01 09:30:43 +01:00
Elia Porciani f26cdd3c04 Merge branch 'feature/SEARCH-2192' into 'master'
Feature/search 2192

See merge request search_discovery/insightengine!479
2020-05-01 08:45:02 +01:00
Elia Porciani 0875a04a9c SEARCH-2129: Static semaphore for running and writing Tracker Threads, that avoids parallel execution of the same job.
Standarization for logger naming and declaration.
2020-05-01 08:45:02 +01:00
mbhave ccdecbdeb2 Search-2203: Missed out hunk for testExpand from the commit 2020-04-30 10:27:06 +01:00
Meenal Bhave 9599c0d0d8 Merge branch 'fix/Search-2065' into 'master'
Search-2065: Test implemented for fingerprint after version update

See merge request search_discovery/insightengine!365
2020-04-30 09:18:49 +01:00
Meenal Bhave 0f47d64b29 Merge branch 'master' of https://git.alfresco.com/search_discovery/insightengine into fix/Search-2065 2020-04-30 09:18:49 +01:00
Keerat a05d771f60 SEARCH-2121 splitting CMIS tests to run tests in correct config 2020-04-29 16:21:41 +01:00
Keerat ce801db773 SEARCH-2121 Adding test group to the @test annotation and not in the test rail 2020-04-29 15:44:12 +01:00
Meenal Bhave 99a612a504 Merge branch 'fix/Search-2203' into 'master'
Fixed the rangeCheck and expand tests to work with 2 DB_ID_RANGE shards, both with content indexed

See merge request search_discovery/insightengine!483
2020-04-29 15:12:58 +01:00
Meenal Bhave 5ae86d2ef8 Search-2203: Amended the test to work on non empty shards and to check the appropriate rangeCheck result 2020-04-29 15:12:58 +01:00
Keerat 9a31f984e9 SEARCH-2121 Adding test group to failing tests with cascade tracking disabled 2020-04-29 13:38:13 +01:00
Tom Page d191d68fa5 Merge branch 'fix/SEARCH-2202_TrackerLogging' into 'master'
SEARCH-2202 Ensure each class has its own logger.

See merge request search_discovery/insightengine!482
2020-04-28 16:30:59 +01:00
Alex Mukha d4f912ccd9 Merge branch 'feature/search-2219-update-base-java-image' into 'master'
SEARCH-2219 Update base Java image

See merge request search_discovery/insightengine!481
2020-04-28 13:53:02 +01:00
Alex Mukha e2e6736679 SEARCH-2219 Update base Java image 2020-04-28 13:53:02 +01:00
Tom Page eaf034917f Merge branch 'fix/SEARCH-2202_MissingShardRange' into 'master'
SEARCH-2202 Handle case where shard range is missed.

See merge request search_discovery/insightengine!480
2020-04-28 13:50:51 +01:00
Tom Page 73ac9e44aa SEARCH-2202 Ensure each class has its own logger.
Make loggers static and final, and use slf4j tokenisation.
2020-04-28 10:51:38 +01:00
Tom Page 37c57d1d52 SEARCH-2202 Handle case where shard range is missed. 2020-04-28 10:28:42 +01:00
Keerat Lalia ff94983bf1 Merge branch 'feature/SEARCH-2121_AddingCscadeTrackingOption' into 'master'
SEARCH-2121 adding cascade tracking option to Insight engine docker-compose and search_sonfig_setup

See merge request search_discovery/insightengine!478
2020-04-28 09:55:57 +01:00
Tom Page cfb670302c Merge branch 'fix/SEARCH-2202_MoreSonarFixesMaster' into 'master'
Fix/search 2202 more sonar fixes master

See merge request search_discovery/insightengine!477
2020-04-28 09:15:12 +01:00
Tom Page 1aa959c186 SEARCH-2202 Delete Solr unit tests.
These are literally unit tests copied from the Solr project and which are testing Solr code.

https://github.com/apache/lucene-solr/blob/master/lucene/analysis/common/src/test/org/apache/lucene/analysis/minhash/MinHashFilterTest.java
2020-04-27 15:06:34 +01:00
Tom Page b0bef746b8 SEARCH-2202 Remove commented tests.
It does not seem at all likely that these will ever be uncommented. They
were commented out because they didn't work.
2020-04-27 14:40:06 +01:00
Tom Page 969cf39962 SEARCH-2202 Make AdminHandler tests clearer.
Sonar doesn't like tests with no assertions.
2020-04-27 14:37:12 +01:00
Tom Page d41d0ec9c4 SEARCH-2202 Remove context field as it is present in supertype. 2020-04-27 14:33:10 +01:00
Tom Page 4954eb2d2e SEARCH-2202 Remove unused field.
This exists in the superclass anyway.
2020-04-27 14:02:30 +01:00
Tom Page b136fff939 SEARCH-2202 The field analyzeRangeTerms is defined in the supertype.
We're already setting the supertype field to true in the only constructor, so it's safe to use that instead.
2020-04-27 12:28:29 +01:00
Tom Page dc91f1b3a3 SEARCH-2202 Fix typo: hashcode -> hashCode. 2020-04-27 12:10:55 +01:00
Tom Page 4b79c4b452 SEARCH-2202 Simplify code in SolrInformationServer.
Sonar complains about fall-through switch statements, but this logic can be much shorter anyway.
2020-04-27 12:07:47 +01:00
Tom Page 3943ee4192 SEARCH-2202 Remove unused class ResizableArrayList.
Sonar was complaining about this class, but we don't actually use it, so deleting it.
2020-04-27 12:03:27 +01:00
Tom Page a61ba7d04d Merge branch 'fix/SEARCH-2202_SonarFixesMaster' into 'master'
Fix/search 2202 sonar fixes master

See merge request search_discovery/insightengine!475
2020-04-27 10:33:55 +01:00
Tom Page 6ce243d677 Merge branch 'dependabot/maven/search-services/org.alfresco-alfresco-data-model-8.105' into 'master'
Bump alfresco-data-model from 8.102 to 8.105 in /search-services

See merge request search_discovery/insightengine!476
2020-04-27 09:57:31 +01:00
Tom Page 515a66f944 SEARCH-2202 Revert back to public constants in SOLRAPIQueueClient. 2020-04-24 17:09:20 +01:00
Tom Page 1852fec571 SEARCH-2202 Convert CoreDescriptorDecorator fields to constants. 2020-04-24 17:09:20 +01:00
Tom Page bcb97ddd0d SEARCH-2202 Use constants for fields in SOLRAPIQueueClient.
These collections should be constants anyway - they're never set.
2020-04-24 17:09:20 +01:00
Tom Page e0cee5c5e7 SEARCH-2202 Fix NPE issues and add unit test for BoundedDeque. 2020-04-24 17:09:20 +01:00
Tom Page dc019bcc04 SEARCH-2202 Make more list fields unmodifiable.
Also fix integration tests to honour the encapsulation.
2020-04-24 17:06:48 +01:00
Tom Page 7b15c3ede7 SEARCH-2202 Declare constants final. 2020-04-23 10:37:53 +01:00
Tom Page 6c50bd0f5e SEARCH-2202 Making constant protected. 2020-04-23 10:22:34 +01:00
Tom Page cbce32415e SEARCH-2202 Avoid storing/returning mutable deque. 2020-04-23 10:21:05 +01:00