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
85028: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
84196: Addition of what I'm calling 'synthetic' facetable properties to SolrFacetService and REST API as part of ACE-2639.
A synthetic property is something that is technically *NOT* a property, but which can be treated as such for the purposes
of SOLR facetting/filtering.
Currently we only support two synthetic properties: size and mimetype, which are defined within any Alfresco property of
type d:content. This includes, but is not limited to, the cm:content property in all cm:content types in Alfresco.
(Be careful with your cm:content. That name is heavily overloaded.)
This checkin only supports what we need for 5.0. It is expressly not designed for resuse/extension in a general way.
However, I have tried to push the less stable parts of this work into the implementation of the service and REST API
and limit what's in the service interface to the more stable parts of the work.
Also note that I had to add some l10n/i18n key-values for these synthetic properties. I've called the mimetype 'MIME type'
in the l10n'd text as I have translations for that in all languages.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84967: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83743: Fix for ACE-1037 SOLR 4 - Information server implementation - the rest
- fix filter queries added when using specified search handlers
- fixed DBID to be Single valued for SOLR 4 and multi-valued for SOLR 1.4
- fixed TXID and ACLTXID to be doc values for fast index validation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85282 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84958: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83712: ACE-2612: Added option to lower case Suggester term (addressing the review comments). Also refactored the Suggester service to take 'SuggesterParameters' as a method parameter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84954: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83702: ACE-2639. Added javadoc stating that inherited properties are included in results for a single type/aspect, which they are.
Added content class qname (type/aspect) to the JSON rsp as it's very helpful.
Improved FacetablePropertyData's compareTo impl to properly sort on model,type,prop.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85271 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84950: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83670: Moved the FacetablePropertyData inner class from SolrFacetService (Java API layer) into FacetablePropertiesGet (REST API layer) as that is a better place for it. ACE-2639.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84926: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83488: ACE-2639. Added a natural ordering (alphabetical) to FacetablePropertyData to ensure predictable result ordering.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84922: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83457: Refactoring the facetable properties.get response and some of the service API. Part of ACE-2639.
This checkin changes the JSON structure slightly (array, not map), adds a displayName.
The localised title and displayName are still in the server locale. I'll fix that to client locale next. Also need to add paging.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85239 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84917: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
83444: ACE-2639. Added property title (where available) to JSON rsp.
As the title can only be retrieved using a getTitle(MessageLookup) call, I had to get the titles from the Java layer, rather than a straight get call in the FTL. Makes the API a bit messier. I may get to tidy it as part of ongoing work on ACE-2639.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84312: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
84198: Merged DEV to V4.2-BUG-FIX (4.2.4)
84122: MNT-10730: In SelectNode() the third possible parameter is not evaluated properly
- Now, true and false value will be handled as boolean.
- Appropriate test was added.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84655 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Change solr query endpoint to that passed in to the method and remove redundant 'qt' parameter (consistent with other query methods)
- Parsing of stats response no longer expects a specific stats item, it just parses the first stats field object as there should only ever be one
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83720 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80709: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
78667: ACE-1582: Made the facet config service and the relevant web scripts to accept single/multiple value(s) update (to support inline edits).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80698: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
78457: ACE-1582: - Fixed facet's custom properties.
- Made the GET facets web-script to be accessed by all authenticated users rather than just the Search-Admin/Network-Admin users.
- Fixed FacetRestApiTests and added more tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82996 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80669: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
78166: ACE-1582: Enhancements to the facet service to persist only the modified value(s) rather than the whole facet's properties. Also fixed facets cache and facets reordering NPE.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80643: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
76831: Enhancement to the /api/solr/facet-config REST endpoint to support facet reordering.
If you add a query parameter like so: /api/solr/facet-config/{filterID}?relativePos={relativePos?}
then the specified filterID will be moved by the specified relative position.
'3' means move it 3 places down the list. '-1' means move it one place up the list.
Note that currently you cannot provide a HTTP request body (JSON) at the same time as the relativePos param,
in other words you cannot update the facet metadata and reposition in in one REST call. It is either or.
We may enhance the webscript to support simultaneous edits of metadata and position at a future date.
Also added automatic management of facet position on facet create and delete. New facets are put at the
end of the list - this can easily be changed if it is not what's wanted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82937 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80628: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
76618: Initial commit of Java service changes for facet reordering. Part of ACE-1582.
Facet persistence has not been changed, but a property has been added to the folder
which contains the facet nodes. This property 'facetOrder' holds a sequence of strings
which are the ordered facet IDs.
Facets are now returned from the SolrFacetService in a sorted order, where this explicit
'facetOrder' is the primary source for sort order.
The sorting algorithm falls back to using indexes if no order is available.
It then falls back to using alphabetic sorting if no index is available.
These last two scenarios are likely to be corner cases.
Still to do: some enhancements to the Java service, webscripts as REST API endpoints.
the REST API will provide for reordering of existing facets.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82922 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80509: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
74144: ACE-1582: added:
- more facet props to the Model and the related JSON response
- GET one facet API
- Sorting by facet index
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80110: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
79475: Merged DEV to V4.2-BUG-FIX (4.2.4)
79324: MNT-11023 Admin Console:Search service. After enable noindex not possible to change search service.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82713 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
79326: Merged EOL to HEAD-BUG-FIX (5.0/Cloud)
79090: ACE-2013 EOL JCR, JCR-RMI, etc in 5.0
- Removed references to http://www.jcp.org/jcr (left in web-scripts-application-context.xml
and multiple versions of opencmis-gnamefilter-context.xml)
78990: ACE-2013 EOL JCR, JCR-RMI, etc in 5.0
- Removing references to "jcr-xpath" - Biggest changes were to: DocumentNavigator, NodeServiceXPath and NodeSearcher
- SearcherComponentTest has a lot of tests removed that appeared to be JCR specific
- There are still a lot of namespace references in XML files to http://www.jcp.org/jcr/1.0 etc.
- Left a few references to "JSR 170" and JCR in java classes as they looked like they might be common with other bits.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82708 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
78519: Merged EOL (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
78398: ACE-81 Upgrade MyBatis to 3.2.7
- myBatis 3.2.7 upgrade onto Spring 3.2 upgrade. Merged in appropriate sections from BRANCHES/DEV/DEREK/ALF-19099 and fixed
- myBatis namespace config issue. Full maven build with unit tests works, repo and share start and the basics seem to be working.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82583 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
78429: Merged EOL (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
75801: ACE-2149: EOL AVM / WCM
- Thorough sweep of 'avm' and 'wcm' references
- Picked up on many 'deployment' and related classes and configuration
- Repo starts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82558 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
78403: Merged EOL (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
75700: ACE-2149: EOL AVM / WCM
- Remove most of the AVM and WCM beans, scripts, classes, patches, etc
- The Explorer client is very broken for compilation
- TODO: Remove all WCM-related functionality, which I thought would be best left to a UI dev
I've murdered many of the classes and beans but there's more to do
- The repository compiles
TODO: Get it running again
- TODO: Check if we can wipe the 'deployment' project as well
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82540 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
78392: Merged EOL (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
75693: ACE-2149 Remove AVM/WCM - first round, based on the following Sparta commits
08f1ff556cf3e8eb370e433b69b634026c848af1: SlimRepo: comment-out AVM schema bootstrap and wcm-services-context
- plus associated bootstrap/startup fallout
- note: disabling/removing WCM/AVM will be a work-in-progress due to tight code coupling :-(
cdb78eeae53522cc2d78feb94be49d11648fa582; SlimRepo: comment-out AVM schema bootstrap and wcm-services-context
- follow-on to fix "regenerate_renditions" fallout error (in Alfresco Explorer web client)
33337ad4239df91b9a8dc7a00be43e55ffef5bef: SlimRepo: remove WCM/AVM - round 1 (wip)
- removal of some of the AVM code and tests (including core impl such as AVMServiceImpl, AVMRepository, AVMSyncServiceImpl, underlying DAOs etc)
- fix Spring config (major impact) and any obvious compile-time fallout
- ensured repo starts and ran (some of the) repo unit tests
- also check basic Explorer access
47e50847bbbbdda5fd64a27c212dfbdd625cbfdb: Jenkins build/test repo - minor: disable/remove repo tests
- disabled unused tests, removed remaining AVM* tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
75551: Reverse Merge HEAD-BUG-FIX (5.0/Cloud)
74584: Reverse merged HEAD-BUG-FIX (5.0/Cloud)
<< Requires more work on the EOL branch >>
74416: Merged EOL to HEAD-BUG-FIX (5.0/Cloud)
74309: ACE-2010 EOL Legacy CMIS Inputs (2) in 5.0
- Start replacing references to the original CMIS code with Alfresco and chemistry Open CMIS classes
74342: ACE-2010 EOL Legacy CMIS Inputs (2) in 5.0
- Switch ServiceRegistry over to using Open CMIS classes
74406: ACE-2010 EOL Legacy CMIS Inputs (2) in 5.0
<< Compiles and starts Share without error >>
- Removed Original CMIS classes from the repository, remote-api and thor
- Moved the CMIS.DictionaryBootstrap bean into opencmis-context.xml before removing cmis-api-context.xml
- Some code was left under:
root\projects\remote-api\source\java\org\alfresco\repo\cmis
...........................................................\client
...........................................................\ws
...........................................................\rest
................................test-java\org\alfresco\repo\cmis
................................................................\ws
................................................................\rest
Will have to see if it should be be removed too, or if it is common with OpenCMIS
74407: ACE-2010 EOL Legally CMIS Inputs (2) in 5.0
- Removed left over code under:
root\projects\remote-api\source\java\org\alfresco\repo\cmis
................................test-java\org\alfresco\repo\cmis
- Removed an authentication URL test in QuickShareRestApiTest which was failing in
the same way as the tests above.
- Removed CXFAuthenticationSystemTest which appears to be using the original CMIS
74465: Merged EOL (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
74464: ACE-2010 EOL Legacey CMIS Inputs (2) in 5.0
- New failure in QuickShareRestApiTest
- CXFAuthenticationSystemTest (deleted) was still referenced in MiscSystemTestSuite
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@77489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
70682: Merged WAT1 (4.3/Cloud) to HEAD-BUG-FIX (4.3/Cloud)
69736: ACE-1615: Fixed the search result to return empty arrays for field facets, when no facet queries are available.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70914 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
70680: Merged WAT1 (4.3/Cloud) to HEAD-BUG-FIX (4.3/Cloud)
69081: ACE-1265: Fixed the selected Date/Size range filtering
- Added insertion index for the facet label, to help the Date/Size sorting labels in the UI.
- A minor optimization in SolrFacetHelper.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
65593: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3/Cloud)
65443: MNT-10826: When SOLR encounters an error during a search, it returns empty result set rather than an error message
Error from the SOLR side needs to be captured and sent over in the results. It should be thrown on the repository side.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66247 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261