Commit Graph

505 Commits

Author SHA1 Message Date
Alan Davis
60a8b718bc MNT-16381 Transformers must validate the content stream mimetype
- Addition of AbstractContentTransformer2.strictMimeTypeCheck(...) to check that the
     declared mimetype is the same as the Tika derived mimetype. Controlled by a new alfresco
     global property content.transformer.strict.mimetype.check (set to true by default).
   - Added the UnsupportedTransformationException to a number of transformation callers as
     they should have been handling it already.
   - Modified DifferrentMimeTypeTest to test the new strictMimeTypeCheck.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-15 16:11:15 +00:00
Raluca Munteanu
6afb44e712 Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
125606 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
      125515 slanglois: MNT-16155 Update source headers - add new Copyrights for Java and JSP source files + automatic check in the build


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@125788 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-04-26 13:45:01 +00:00
Raluca Munteanu
dc6b2852d0 Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
125605 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
      125498 slanglois: MNT-16155 Update source headers - remove svn:eol-style property on Java and JSP source files


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@125783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-04-26 13:03:25 +00:00
Raluca Munteanu
8674e2bfc8 Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
125603 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
      125484 slanglois: MNT-16155 Update source headers - remove old Copyrights from Java and JSP dource files


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@125781 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-04-26 12:48:49 +00:00
Alan Davis
38f73d02ae Merged 5.1.N (5.1.1) to HEAD (5.2)
123152 amorarasu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1)
      123098 rmunteanu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
         122976 tvalkevych: MNT-15783: Merged V4.2.4 (4.2.4.20) to V4.2-BUG-FIX (4.2.7)
            113807 adragoi: Merged DEV to V4.2.4 (4.2.4.16)
               113780: MNT-12240 : Loading of available Tags is slow at 'Edit Properties' -> 'Select Tags' dialog.
                  - limited query results sin webscript


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123694 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-03-11 22:33:33 +00:00
Alan Davis
88cbc99047 Merged 5.1.N (5.1.1) to HEAD (5.1)
121627 rmunteanu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1)
      121496 arebegea: MNT-14409 : Unable to configure search filter for TAG/SITE via extension
         - Modified the SolrFacetConfig QName resolver to use the FacetQNameUtils that was also used when added a filter from Share
         - Had to move the FacetQNameUtils and the test class FacetQNameUtilsTest to repository project
         - Added the FacetQNameUtilsTest test to the AllUnitTestsSuite


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123645 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-03-11 21:42:09 +00:00
Andrew Hind
5af684f7cf Fix for ACE-4900 "java.lang.IllegalArgumentException: bound must be positive" in DynamicSolrStoreMappingWrapperFactory
- improved logging and fallback options

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@120465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-01-04 14:25:56 +00:00
Andrew Hind
3d4f9a07c0 Fix for ACE-4575 SOLR 4 - Sharded - Backup should fail gracefully
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@117847 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-11-18 10:54:15 +00:00
Ahmed Owian
5bcbdef83c Merged SHA-SIMP-2 (5.1.0) to HEAD (5.1)
116654 aowian: ACE-4500: Updating links to the help from within Alfresco
      - Code formatting according to Alfresco standards. No functionality changes.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@116662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-11-10 06:03:28 +00:00
Ahmed Owian
3adb8621ac Merged SHA-SIMP-2 (5.1.0) to HEAD (5.1)
116550 aowian: ACE-4500: Updating links to the help from within Alfresco
      - Updated error message to include correct version of the docs.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@116661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-11-10 06:03:09 +00:00
Andrew Hind
b745f8464f Fix for ACE-4038 SOLR 4 - Sharded - Suggestor fails
- sharded and unsharded suggestion behave the same

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@116423 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-11-06 14:32:27 +00:00
Andrew Hind
fd740adefc Fix for ACE-4417 Search by Aspect within a site returns results from all sites
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@114218 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-10-12 20:41:01 +00:00
Andrew Hind
1af13154bd Fix for ACE-4412 Dynamic shard registration should be an enterprise only feature
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@114044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-10-09 11:30:47 +00:00
Andrew Hind
a1e7a4fc17 Fix for ACE-4089 SOLR 4 - sharded - Remove the requirement for shard configuration on the Alfresco One Platform
- vanilla support - currently not enterprise only and does not support slave shards

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@111383 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-03 10:38:02 +00:00
Andrew Hind
d6e7d6be06 Fix for ACE-4089 SOLR 4 - sharded - Remove the requirement for shard configuration on the Alfresco One Platform
- vanilla support - currently not enterprise only and does not support slave shards

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@111382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-03 10:37:33 +00:00
Andrew Hind
c61295f633 Fix for ACE-4140 BC - Public API - R109683 introduces an incompatibility change to the public API
- reverted the return type, deprecated the method and added a new one.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@111359 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-03 06:53:20 +00:00
Andrew Hind
2c250be45b Fix for ACE-2004 SOLR 4 - Support filtering of query results
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@111060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-27 20:35:23 +00:00
Jamal Kaabi-Mofrad
5e0d90bb8d SHA-1308: Added check to prevent an unindexed property to be included in the facetable property list. Also, added faceted search tests into their dedicated test suite and refactored SolrFacetQueriesDisplayHandlersTest to not rely on the bootstrapped swsdp site.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@110576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-20 17:26:09 +00:00
Andrew Hind
61f041bea4 Fix for ACE-4075 SOLR 4 - sharded - default facet refinement reduces performance
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@109683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-06 13:20:48 +00:00
Alan Davis
b34aaa4cfe Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
108039: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud)
      107604: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.3)
         107379: Merged DEV to V4.2-BUG-FIX (4.2.5)
            100688 : MNT-13713 : row.getValue() returns null when indexing with lucene and sort is applied.
               - Was implemented some code for query with sorting.
            107250 : MNT-13713 : row.getValue() returns null when indexing with lucene and sort is applied.
               - Added a test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@108070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-09 22:09:53 +00:00
Alan Davis
aaa009bd86 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
107747: Fix for ACE-2125 Boolean properties should be supported in the predicate for transactional metadata queries.
    - also includes float and double
   Fix for ACE-2685 Error when using content length and mimetype in the same query 
    - SQL refactor removes this issue
   Fix for ACE-3889 Support the OR operator with transactional AFTS queries


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-07 08:07:53 +00:00
Tatyana Valkevych
7dd2291753 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
107541: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud) (PARTIAL MERGE)
      107413: Merged DEV to 5.0.N (5.0.3)
         106858 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Cleaning of Javadoc,
   107565: MNT-13545 Fix compilation after merge of Javadoc


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-02 16:13:03 +00:00
Alan Davis
b0190f4062 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
106142: Fix for        ACE-4000    SOLR 4 - Auto phrase detection, re-rank and index size reduction


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@106179 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-16 06:17:18 +00:00
Tatyana Valkevych
2ce49b1a2c Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
105528: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud)
      105505: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.3)
         104963: Merged DEV to V4.2-BUG-FIX (4.2.5)
            100339: MNT-13742: SortType: NullPointerException when trying to sort the result set (SOLR)
               - Fixed the sorting depending on the type.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@105591 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-05 11:02:59 +00:00
Alan Davis
44f920c025 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
104571: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
      104493: MNT-14062: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
         104334: MNT-13768: Merged DEV to V4.2-BUG-FIX (4.2.5)
            104284: MNT-13768: Under some circumstances that number of PATH indexed in Lucene increases a lot leading to out of memory and memory over consumption.
               - Move logic that ignores indexing to separate beans. Do not regenerate pathes by ADMLuceneIndexerImpl for nodes with types to ignore.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104639 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-05-20 12:05:38 +00:00
Alan Davis
1a2b705c73 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
104500: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
      104340: Merged DEV to 5.0.N (5.0.2)
         101620: MNT-13812: Creating a rule on Repository > Data Dictionary > Solr Facets Space breaks the Search Manager page
            - Check that child has facetField type, before getting properties.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104611 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-05-20 09:56:47 +00:00
Tatyana Valkevych
871332a83a Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
104271: Fix for     ACE-3827    SOLR 4 - Shard based on ACL hash
   - the sub system supports sharding


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104398 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-05-18 15:13:48 +00:00
Alan Davis
ed5f1f4803 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
102258: Support for     ACE-1021 SOLR 4 - Sharding/Replication/Cluster/CloudACE-3827    SOLR 4 - Shard based on ACL hash
   - the code to support index sharding by ACL ID and query execution


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@102534 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-04-24 11:02:58 +00:00
Alan Davis
a4a7c5f8e7 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
99981: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud) (PARTIAL MERGE)
      99482: Merged DEV to 5.0.N (5.0.1)
         99198 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc typo in project alfresco-jlan
         99413 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project alfresco-jlan
         99205 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project core
         99415 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project data-model
         99227 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project file-transfer-receiver
         99416 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project legacy-lucene
         99417 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project qa-share
         99418 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project remote-api
         99427 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc in project Repository, letters S..Z
         99433 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc in project Repository, letters A..R
         99421 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project share-po
         99247 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc typo in project slingshot
         99248 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project slingshot
         99424 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project solr
         99426 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project solr4
         99253 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project solr-client
         99259 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project web-client
         99260 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
            - Changed Javadoc parameters inconsistence in project web-framework-commons


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@100501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-27 23:00:01 +00:00
Alan Davis
8109be0920 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
99772: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
      99715: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
         99478: Merged DEV (4.2.5) to V4.2-BUG-FIX (4.2.5)
            96530: MNT-13161: Disabling Archive Core in SOLR breaks admin-searchservice reporting for Alfresco core
               - Changed the logic of org.alfresco.repo.search.impl.solr.SolrChildApplicationContextFactory.getProperty(String) to gracefully parse the properties if one of the cores is missing.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@100499 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-27 22:57:29 +00:00
Alan Davis
fc1cb0841f Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
99486: Merged DEREK/BM-0004 (5.1.0.BM4) to HEAD-BUG-FIX (5.1/Cloud)
      98804: Part 2:         ACE-1021    SOLR 4 - Sharding/Replication/Cluster/Cloud
      - SOLR 4 - support multiple stores requested via search parameters
      - explicit federation over a specified set of stores and related SOLR 4 indexes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@99545 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-17 09:39:28 +00:00
Alan Davis
943590d52b Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
93980: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud)
      93846: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.1)
         93733: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.5)
            93616: MNT-5564: Reverse Merge V4.1-BUG-FIX (4.1.10)
               93608: Reverse Merge V4.1-BUG-FIX (4.1.10)
                  << Has been causing a build failure for a week >>
                  93213: Merged DEV to V4.1-BUG-FIX (4.1.10)
                     70268: MNT-5564: Share Lucene tool in admin console works incorrectly
                        Backport changes from HEAD-QA to DEV:
                           53461: ALF-19108: Failed to switching SOLR search service to Lucene with AUTO or VALIDATE values of Index Recovery Mode
                              -Make search admin console page display when SOLR is not running.
                           53463: ALF-19108: Failed to switching SOLR search service to Lucene with AUTO or VALIDATE values of Index Recovery Mode
                               - Make sure cron trigger removes duplicate jobs.
                           54173: ALF-19108: Failed to switching SOLR search service to Lucene with AUTO or VALIDATE values of Index Recovery Mode
                               - Fix for ALF-19330 Exceptions when switching from Solr to Lucene in repo Admin console
                               - Fix for ALF-19108 Failed to switching SOLR search service to Lucene with AUTO or VALIDATE values of Index Recovery Mode
          


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@95020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 15:27:24 +00:00
Alan Davis
c61b0ccbf0 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
91933: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud)
      91860: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.1)
         91754: Merged V4.2.4 (4.2.4) to V4.2-BUG-FIX (4.2.5)
            91668: MNT-12809 : ORDER BY on custom metadata property without node with custom type
             Was corrected sql select query.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 11:42:21 +00:00
Neil McErlean
63a1357a77 ACE-3671. I'm putting SolrFacetServiceImpl.updateFacet back to its original implementation as the lazy-creation of solr facet folder happens during creation and shouldn't affect the update case. Also there is a test failure on myalfresco which may be affected. See https://bamboo.alfresco.com/bamboo/browse/THOR-CLOUD-1047
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@93077 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-07 12:29:07 +00:00
Neil McErlean
9f56ff88e0 Tweak to code as part of ACE-3671. Needed to handle a null facetsRoot folder during a webscript POST.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@92841 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-04 16:28:41 +00:00
Neil McErlean
11a8f28044 This is a tentative fix for ACE-3671. It's being checked in in order to push one build through bamboo.
The fix was to remove the bootstrap patch for the solrFacetsRootFolder created within Data Dictionary.
We are lucky with this feature in that any time this folder is accessed, it either happens:
1. within a write transaction and so we can lazy-create the folder
2. within a read transaction where the data being returned by the SolrFacetService can be easily simulated.

So we now lazily create the folder when it is first used - reusing the importer bootstrap/view data that the patch had used.
AFAICT, this will create the folder (in the default tenant) during startup and also when any search admin tries to create a new SOLR filter within a non-default tenant.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@92799 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-12-29 21:23:13 +00:00
Jamal Kaabi-Mofrad
04e375db63 ACE-3290: minor refactoring of r89637. Also, added date buckets in their own bean.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-03 19:43:24 +00:00
Jamal Kaabi-Mofrad
6eb2e63663 ACE-3290: Added date facet fields in their own bean, so it can be overridden, rather than the full date display handler bean.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-31 14:34:05 +00:00
Andrew Hind
9c13732661 Fix for ACE-3284 CMIS: NPE when performing concurrent search and delete operations
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89211 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-27 13:27:00 +00:00
Stefan Kopf
e628a65529 ACE-3235 - LuceneIndexer does not support nodes being created in different domains within one transaction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-21 09:48:53 +00:00
Neil McErlean
33fa5fb4be This class had an unavoidable NullPointerException when run with debug logging. NPE removed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 13:23:19 +00:00
Jamal Kaabi-Mofrad
c8a6a9847c ACE-2992: Added post processing logic to return the appropriate label keys for "_REPOSITORY_" & "_SHARED_FILES_" Site's facet values.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87847 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-13 12:13:08 +00:00
Jamal Kaabi-Mofrad
76361fbf61 ACE-3083: Fixed facets reordering/retrieving when a default facet is removed from the config file, but it has already been persisted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-10 16:31:50 +00:00
Ahmed Owian
1cc565d659 ACE-2092: EOL Lucene
- 1) Removed all "lucene" stuff from the admin screens. 
   - ERRORed on sub-system start up that lucene is unsupported 
   - 3) Hid "lucene" subsystem from JMX so that it is not registered.
   - TODO:
   - 2) Rename "lucene" to "buildonly" in core-services-context.xml
   - 4) Change the default in repository.properties to "noindex" 
   - 5) Fix the build environment via Samuel
   - Add to ERROR message about upgrading to Solr

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86346 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-03 04:46:29 +00:00
Jamal Kaabi-Mofrad
28d4d42985 ACE-2971: Fixed SiteTitleDisplayHandler to decode the ISO9075 encoded site name, before delegating the lookup to SiteService.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-01 12:03:58 +00:00
Matt Ward
7fc1fc7bf2 ACE-2869: SOLR4 - security.anyDenyDenies=true config - result count from fts query still wrong.
Results are no longer post-processed for anyDenyDenies when Solr4 is in use - the processing is done on the Solr side instead.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-30 13:24:47 +00:00
Jamal Kaabi-Mofrad
fc8c649191 - Refactored facet display handlers
- Changed date buckets implementation to use Solr Date math
- Added Site title display handler as well as a test for it
- Reverted back Neil’s work to inject the "special" facet IDs (SITE, TAG etc) from the solr-facets-context.xml as I re-wrote the SolrFacetHelper class.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-29 21:14:26 +00:00
Neil McErlean
9e9357088b Refactoring 'special facet id' handling as the injection of special values has broken the build. ACE-2639.
Sadly I'm going back to hard-coded special values.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85798 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-26 14:13:45 +00:00
Kevin Roast
f3fb147553 ACE-2620 - ResultSet off by one errors.
- Missing "more..." link in LiveSearch when page boundary (e.g. 6 results in total, page size of 5, no More... link shown)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85781 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-26 11:16:32 +00:00
Neil McErlean
e52aede98f Additional handling for "special" facet IDs (SITE, TAG etc). Part of ACE-2639.
This check-in ensures that those facet IDs are not prefixed with the '@' char like all other facet IDs.
The list is currently injected from solr-facets-context.xml, which required a slight refactoring of spring beans to make SolrFacetHelper a bean.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-25 11:29:05 +00:00