Commit Graph
4760 Commits
Author SHA1 Message Date
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
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
Tom Page 971becb905 SEARCH-2202 Avoid returning mutable list. 2020-04-23 10:15:03 +01:00
dependabot-preview[bot] 3b3a6b2677 Bump alfresco-data-model from 8.102 to 8.105 in /search-services
Bumps [alfresco-data-model](https://github.com/Alfresco/alfresco-data-model) from 8.102 to 8.105.
- [Release notes](https://github.com/Alfresco/alfresco-data-model/releases)
- [Commits](https://github.com/Alfresco/alfresco-data-model/compare/8.102...8.105)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 21:12:00 +00:00
Keerat Lalia 9de603c3f2 Merge branch 'feature/Search-2121-AddDockerSettingToDisableCascadeTracking' into 'master'
Search-2121: Add Docker setting to disable Cascade tracking

See merge request search_discovery/insightengine!470
2020-04-21 13:59:18 +01:00
mbhave ee8a899893 Search-2121: Added new test group to tag the tests to be excluded when cascade tracker is disabled 2020-04-21 11:42:49 +01:00
mbhave e7e08e3757 Updated comment to suggest default for disable cascade tracking 2020-04-21 10:43:42 +01:00
mbhave 8f72f71f16 Search-2121: Add Docker setting to disable Cascade tracking 2020-04-21 10:40:43 +01:00
Tom Page 41969fb2dd Merge branch 'dependabot/maven/e2e-test/org.alfresco.tas-restapi-1.38' into 'master'
Bump restapi from 1.37 to 1.38 in /e2e-test

See merge request search_discovery/insightengine!467
2020-04-20 14:53:09 +01:00
Tom Page ad6f191c76 Merge branch 'dependabot/maven/search-services/org.alfresco-alfresco-data-model-8.102' into 'master'
Bump alfresco-data-model from 8.98 to 8.102 in /search-services

See merge request search_discovery/insightengine!466
2020-04-20 14:51:34 +01:00
Angel Borroy 1bb248f4a0 Merge branch 'fix/SEARCH-950_SqlIdsHyphen' into 'master'
SEARCH-950: Test field identifiers containing hyphens (-) for SQL Select queries

See merge request search_discovery/insightengine!461
2020-04-20 10:40:36 +01:00
Angel Borroy 8d4f5e357d SEARCH-950: Moved utility functions to Abstract Class.
Model modified to test both TRUE and BOTH tokenization values.
2020-04-20 09:18:28 +02:00
Andrea Gazzarini 9cf25f8ab2 Merge branch 'fix/SEARCH_2175_CascadeTracker' into 'master'
Fix/search 2175 cascade tracker

See merge request search_discovery/insightengine!463
2020-04-15 14:39:48 +01:00
Andrea Gazzarini 8ed2d53d84 Merge branch 'feature/SEARCH_2187_timeouts' into 'fix/SEARCH_2175_CascadeTracker'
Feature/search 2187 timeouts

See merge request search_discovery/insightengine!462
2020-04-15 13:43:06 +01:00
agazzarini 527586fa3f [ SEARCH-2187 ] same configuration property on noRerank template 2020-04-15 14:41:31 +02:00
Andrea Gazzarini 5c405d0b9e Merge branch 'fix/SEARCH-2182_no_MDC_simple_logging' into 'fix/SEARCH_2175_CascadeTracker'
[ SEARCH-2182 ] Simplest approach for logging core, tracker type, instance and iteration id

See merge request search_discovery/insightengine!460
2020-04-15 13:35:26 +01:00
agazzarini abc0cb2195 [ SEARCH-2187 ] removed unused import on SOLRAPIClient 2020-04-15 14:29:34 +02:00
agazzarini cb50bab357 [ SEARCH-2187 ] acquire lock max wait time, configuration property 2020-04-15 14:26:48 +02:00
Angel Borroy 78af6df57c SEARCH-950: Test field identifiers containing hyphens (-) for SQL Select queries 2020-04-15 12:41:57 +02:00
agazzarini 0f05768124 [ SEARCH-2182 ] Simplest approach for logging core, tracker type, instance and iteration id 2020-04-15 11:59:43 +02:00
agazzarini 9e302ddda2 [ SEARCH-2187 ] First draft on wrapping callRepository with a Callable statement 2020-04-15 09:33:06 +02:00
agazzarini a2664c96d5 [ SEARCH-2175 ] Pass MaxResults to Repo API as Int 2020-04-15 06:33:17 +02:00
agazzarini 97a951f085 [ SEARCH-2175 ] Don't catch exception on massive node deletetion 2020-04-15 06:03:40 +02:00
agazzarini 179de0ef2a [ SEARCH-2175 ] Fix build errors 2020-04-14 23:47:15 +02:00