- 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
63338: Merged BRANCHES/DEV/KEVINR to HEAD-BUG-FIX
63337: Fix bug in SolrJSONResultSet where 'lastIndexedTx' is not always reported in JSON returned from SOLR but it is assumed to be mandatory.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64283 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
61048: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
60930: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2)
60804: MNT-9595: Merged DEV to V4.1-BUG-FIX (4.1.8)
57553: MNT-9595: Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery
- Tag queries are unlimited. Make paginator in ConsoleTagManagement to fetch data by portions for tags actually displayed.
57586: MNT-9595: Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery
- Do filter by tag name on SOLR side.
60643: MNT-9595: Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery
- Prepend wildcard to the filter to match the old contains behaviour. Add unit tests for the tag and category filtering.
60765: MNT-9595: Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery
- Add test for wildcard matches support.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62380 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
60122: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
60121: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2)
60118: Merged DEV (V4.1-BUG-FIX-2013_11_14) to V4.1-BUG-FIX (4.1.8)
60117: Merged DEV (V4.2.1-2014_01_09) to DEV (V4.1-BUG-FIX-2013_11_14)
60116: MNT-10399: AutomaticBuilds: Alfresco doesn't shut down because of FullTextSearchIndexerImpl
- Try to spot dead daemon threads holding the lock on subsystem shutdown
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
57572: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
57536: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.1)
57528: Merged V4.1.7 (4.1.7) to V4.1-BUG-FIX (4.1.8)
57524: Reverse Merged out of 4.1.7, as it is the cause of MNT-9873 - a new approach is needed (paging or limits on the UI side). Moving both issues to 4.1.N.
56842: Fix for MNT-9595 Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery
- tag queries are unlimited
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61848 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
57509: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
57384: Fix for MNT-9868 Transformation server + Lucene specific: Dead lock on startup of the second node
- selectNodes does not depend on the search sub-system
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261