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
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
- 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
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
62939: Merged PLATFORM1 (Cloud33) to HEAD-BUG-FIX (Cloud33/4.3)
62289: Merged BRANCHES/DEV/mward/plat1_hybrid_search to BRANCHES/DEV/PLATFORM1:
61145: ACE-482: very simple start to Hybrid DB/SOLR search.
61236: ACE-482: added last indexed transaction ID to search results.
61254: ACE-482: added repo-side support for "lastIndexedTx" from SOLR results
61508: ACE-482: DbOrIndexSwitchingQueryLanguage uses sinceTxId search param to perform DB search for unindexed content.
61523: ACE-482: Improved unit tests for DbOrIndexSwitchingQueryLanguage
61656: ACE-482: Retrieves a changed nodes list, and removes these from index results before adding DB search results.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62993 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
62920: Merged PLATFORM1 (Cloud33) to HEAD-BUG-FIX (Cloud33/4.3)
<< This was a bad merge with conflicts to do with the impl/solr directory not existing >>
62511: ACE-482: Hybrid search can be disabled/enabled and is disabled by default.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62975 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
60937: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
60816: MNT-10323: QueryModelException: Descen dant/IN_TREE() is unsupported by opening WCMQS
Logging level has been changed from INFO to DEBUG for the queries that cannot be executed against the DB
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62372 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
57484: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
57302: Merged V4.1-BUG-FIX (4.1.7) to V4.2-BUG-FIX (4.2.1)
57294: Merged DEV to V4.1-BUG-FIX (4.1.7)
57293: MNT-8557: Escaping space in JS search query sort column ID
Added explicit space replacing in SOLR url query and reverse replacing to get property definition.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261