Commit Graph
389 Commits
Author SHA1 Message Date
Elia Porciani c95bfcf8df Fix/search 2538 (#987)
* [SEARCH-2538]
Implementation of explicit atomic updates for fixing aspect removal issue

(cherry picked from commit e13bc4c2f7b05febabb27372e9bb96dc28e99b60)
2020-11-26 17:21:02 +01:00
Angel Borroy 87e7ba6f24 SEARCH-2460: Correct validation of "isIndexed" property.
Index "unidexed" nodes only when global property to ignore them is not set.
Cherry picked from c2bc8a8
2020-11-13 10:12:40 +01:00
Elia Porciani c555f6d400 Fix/search 2400 to 2.0.x (#937)
* [SEARCH-2400]
restored shared.properties as in 1.4.3

(cherry picked from commit 45fd7b6c83b7f96925a163853ee22cc09c52ba44)

* [SEARCH-2400]
changed music model

(cherry picked from commit f7bbac444de7c2a7ea9bf18e72ea1b43153344c0)

* [SEARCH-2400]
removed conf directory from solrhome in distributed tests

(cherry picked from commit 52c94cef08d1d5646b37074ba42b1ab6ee2ab1c7)

* [SEARCH-2400]
use different shared.properties for integration tests

(cherry picked from commit 61dd7a5df731b2a4e88f6302d89b738b35c6f5f4)

* [SEARCH-2400]
restored music model

(cherry picked from commit b5894e6ddb5a9acbf7a0dd8e4d6c8f0014ed5d69)

* [SEARCh-2400]
restored test to be the same as in 1.4.3 branch

(cherry picked from commit d5c6ced530b4edaae00a8edbde55b9fdffcc6839)

* [SEARCH-2400]
activate cross-locale field for all the non-tokenized properties

(cherry picked from commit e04d486f623407dc3c763f637d3bdd90937364c2)

* [SEARCH-2400]
fixed test on dynamic fields

(cherry picked from commit b336d8ff02f7b7e29202160ef1b8081a37d86c53)

* [SEARCH-2400]
fixed test shared.properties on insightEngine

(cherry picked from commit 5a0738eed5ec1684d2100a15992294963e50431c)

* [SEARCH-2400]
removed check for property with no cross-locale fields in highlighter

(cherry picked from commit a05149503e30556e299e63122acbb5e43dc62ff6)
2020-09-11 14:41:16 +02:00
Angel Borroy 5080c58198 SEARCH-2379: Update the whole ASPECT list when updating a Document, that allows removing removed aspects
Cherry picked from 7135403
2020-08-18 12:09:17 +02:00
Angel Borroy 8ffef842db SEARCH-2378: Update the whole PARENT list when updating a Document
Cherry picked from 84bb8db
2020-08-18 12:06:11 +02:00
Angel Borroy 03a489bd90 Merge pull request #896 from Alfresco/fix/SEARCH_2126_RemoveCountZeroQueryFacets
SEARCH-2126: Remove facet query results having count equals to zero.
2020-08-13 17:03:14 +01:00
f62e156c47 Bump jackson-databind from 2.7.7 to 2.9.10.5 in /e2e-test (#854)
* Bump jackson-databind from 2.7.7 to 2.9.10.5 in /e2e-test

Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.7.7 to 2.9.10.5.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot[bot] <support@github.com>

* Correct tests according to new jackson parsing

* Correct tests according to new jackson parsing

* Fix StatsSearchTest (jackson config in framework)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Mukha <alex.mukha@alfresco.com>
Co-authored-by: Alex Mukha <killerboot@users.noreply.github.com>
2020-08-06 15:15:57 +01: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
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
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
Angel Borroy 05962b1cd6 SEARCH-2252: Remove unused tests. 2020-05-20 15:35:58 +02:00
Angel Borroy 2fd8af7261 SEARCH-2252: Avoid to add fields declared as not indexed to SOLR Schema and to SOLR Index. 2020-05-19 11:20:41 +02:00
Keerat c938d256f6 SEARCH-2249 Adding all the license headers to the e2e test project 2020-05-13 14:30:05 +01:00
Keerat dfe3492052 Merge branch 'master' of https://git.alfresco.com/search_discovery/insightengine into feature/SEARCH-2139_EnhancingFieldDefinitionTestCoverage 2020-05-07 11:49:25 +01:00
Keerat a8ee1bfe02 SEARCH-2139 review comments added 2020-05-07 09:02:43 +01:00
Keerat 872d6edb60 SEARCH_2139 Adding e2e test coverage for the text and mltext fields in the solr schema 2020-05-06 13:18:36 +01:00
agazzarini 80e9267939 [ SEARCH-2222 ] Merge master in 2.0 2020-05-05 18:02:34 +02:00
eliaporciani 27690817ec [SEARCH-2139]
updated custom model
2020-05-05 15:26:07 +02:00
Keerat e2572e839d SEARCH-2139 tests for test definition in the solr schema 2020-05-05 11:46:07 +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
mbhave ccdecbdeb2 Search-2203: Missed out hunk for testExpand from the commit 2020-04-30 10:27:06 +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 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
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
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
Angel Borroy 78af6df57c SEARCH-950: Test field identifiers containing hyphens (-) for SQL Select queries 2020-04-15 12:41:57 +02:00
eliaporciani 2dac4697aa Merge branch 'master' of git.alfresco.com:search_discovery/insightengine into fix/SEARCH-2143 2020-04-09 09:47:01 +02:00
Keerat Lalia ef790fffa1 Merge branch 'feature/SEARCH-2016_CastedSQLTests' into 'master'
SEARCH-2016 e2e tests added for casting in SQL

See merge request search_discovery/insightengine!441
2020-04-07 15:07:24 +01:00
eliaporciani cc52c0a780 [SEARCH-2143]
merged from master
2020-04-06 10:49:07 +02:00
Keerat a534604eed SEARCH-2016 changing fingerprint tests back 2020-04-03 13:19:25 +01:00
Keerat b78cbb48cc SEARCH-2016 changing fields to OOTB and exsisting fields to avoid duplicate tests with JDBC and SQL 2020-04-03 13:17:38 +01:00
mbhave 61b51d8694 Attempt to fix incosistent test for testSpellCheckACL(), currently error seen due to OOTB content 'space var' 2020-04-03 11:33:48 +01:00
mbhave 468ea91f76 Search-2142: Added missing call to getModel to get the shard method and count 2020-04-02 14:07:32 +01:00
Tom Page 0001244488 Merge master into release/V2.0.x. 2020-04-02 10:17:27 +01:00
Meenal Bhave 88e5718325 Search-2142: Fixed the solr api tests to work based on the Sharding Method 2020-04-01 13:59:58 +01:00
mbhave 59797a4438 Removed unused TestGroups 2020-04-01 13:01:53 +01:00
mbhave d8e51786a8 Search-2142: Updated with sharding method enum and getShardInfo to throw appropriate exception 2020-04-01 10:08:08 +01:00
mbhave 1cc0f18579 Search-2142: Fixed the solr api tests to work based on the Sharding Method 2020-03-31 08:21:26 +01:00
agazzarini 89ddda9374 Merge branches 'feature/SEARCH-2090' and 'master' of https://git.alfresco.com/search_discovery/insightengine into feature/SEARCH-2090
 Conflicts:
	e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/SearchSpellCheckTest.java
	insight-engine/alfresco-insight-engine/src/main/java/org/alfresco/solr/sql/SolrSchema.java
	search-services/alfresco-search/src/main/java/org/alfresco/solr/AlfrescoCoreAdminHandler.java
	search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java
	search-services/alfresco-search/src/test/java/org/alfresco/solr/AlfrescoSolrUtils.java
2020-03-09 15:42:29 +01:00
Keerat ab1bce32f0 SEARCH-2116 adding the ACS_62n Test group to the failing tests 2020-03-09 09:05:52 +00:00
Keerat cbc5cb12c6 SEARCH-2116 adding the ACS_62n Test group to the failing tests 2020-03-09 09:04:54 +00:00
Meenal Bhave 6e3bf14f05 Merge branch 'fix/Search-2116' into 'master'
Search-2116: Added some tests for testing pagination for search and sql queries

See merge request search_discovery/insightengine!410
2020-03-06 14:56:47 +00:00
mbhave f4f00bf932 Search-2116: Removed redundant test and simplified a test 2020-03-06 14:54:38 +00:00
Keerat 5d9c90ea7e SEARCH-2078 fix for the spellcheck with the new queries 2020-03-06 12:52:55 +00:00
Keerat d5eefa5d94 SEARCH-2078 fix for the spellcheck ACL test in a sharded mode 2020-03-06 12:44:55 +00:00