Jan Vonka
dbdbb003f1
- add TenantService hooks to ADM Searcher & Indexer
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-08-02 14:22:48 +00:00
Derek Hulley
9a1cc0a9b3
Merged V2.1 to HEAD
...
6274: AR-1609 lucene.indexer.maxFieldLength property
6282: AWC-1347 Orphaned categories
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6283 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-17 20:24:23 +00:00
Andrew Hind
7a575c5518
Fix AVM index for last index info
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-12 21:22:55 +00:00
Derek Hulley
0d1bd57217
More for AR-460: System concurrency
...
There might be a few SDK projects that still use TransactionUtil, but this checkin gets rid of
its use otherwise.
I took a glance over the areas of the code that use UserTransaction directly and didn't see any
transactionally wrapped code that desperately needed to be put into a retry loop (i.e. write
transactions in a concurrent scenario). If you spot any that you think might qualify, let me know.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6220 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-12 04:15:28 +00:00
Derek Hulley
d1a9347c09
Made the ThreadPoolExecutorFactory more configurable, but also with more sensible defaults.
...
- The queue for background jobs is unlimited
- A smaller number of core threads is maintained
- It is possible to set the threads' priority (default low)
Added hasAspect() method to XPath functions.
Various other cosmetic changes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 00:51:54 +00:00
Britt Park
fcb4c9c54b
Another dirty trick to eliminate the last unnecessary lookup during indexing snapshots.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6124 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-28 00:22:45 +00:00
Britt Park
8aa69caee3
Performance tweaks for AVM Indexing.
...
Removed calls to getXXXPaths().
Changed mappings of properties and aspects on AVM Nodes to
favor get all calls.
Added getAspects() and getNodeProperties() which take
AVMNodeDescriptors.
Used these in AVM Indexing to reduce the number of redundant full lookups.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-27 18:24:05 +00:00
Andrew Hind
61d5f06d7d
Improvements for AVM indexing
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-26 14:05:47 +00:00
Andrew Hind
5981472dd3
Improvement for AVM inedxer performance
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6069 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-22 15:26:09 +00:00
Andrew Hind
0eb0cce5e7
Fixes for AR-1466 and AR-1515
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6066 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-22 13:23:38 +00:00
Andrew Hind
2c2b000f3e
Fixs for AR 1411, 1510, 1517
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5982 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-15 15:41:45 +00:00
Andrew Hind
80939c8187
Fix when more locales present
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 16:47:07 +00:00
Andrew Hind
7ba2f7e011
Build Fix after removing update to parent node in the node service.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5923 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-12 21:45:28 +00:00
Derek Hulley
1b13a0a636
Test still affected by flushes
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5832 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-01 18:08:32 +00:00
Derek Hulley
dec1de7f34
Fixed flush mode for queries to get child associations.
...
This had the side-effect of fixing the ADMLuceneTest that was failing during in-transaction deletions of child associations.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5828 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-01 14:07:04 +00:00
Derek Hulley
819c7084a2
Added 'version' column to ADM entities
...
- A patch will assign initial version values to the entities
- Deprecated TransactionUtil in favour of the RetryingTransactionHelper
- Renamed RetryingTransactionHelper.Callback to RetryingTransactionHelper.RetryingTransactionCallback
The name Callback clashes with many other classes in the classpath
- Moved loads of components to be included in the retry behaviour
Duplicate name checks
- This is done using a query, but the entity update is not written to the database early
- Concurrent adds of the same-named child node will only fail at the end of the transaction
- TODO: Detect the duplicate violation during transaction retrying
Workaround for ADMLuceneTest
- Disable session size resource management during tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5823 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-01 12:40:17 +00:00
Andrew Hind
4bd5b0266c
Index rebuld and vlidation support for AVM.
...
Added AVM indexes to the configuration checker
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5818 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-31 14:15:12 +00:00
Andrew Hind
cdcd32d54b
Asynchronous indexing for AVM
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5796 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-29 10:46:38 +00:00
Andrew Hind
43dad1aeff
Asynchronous indexing for AVM
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5795 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-29 10:19:57 +00:00
Andrew Hind
28996e9a03
Fix AVM mising a directory add event??
...
Lucane PATH now working for the staging area
XPath is trying for all AVM stores (enven layers)
- missing support for no name space mathing all ....and suport for names attributes ... on the AVM nodeservice
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5753 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-22 16:18:24 +00:00
Andrew Hind
7f5c55247b
Fix AVM and context issues
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5749 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-22 10:45:49 +00:00
Andrew Hind
e781259860
Probable build fix
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5729 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-19 19:05:18 +00:00
Andrew Hind
518da86649
Fix fuzzy, prefix and wildcard queries for MLText typed attributes
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5723 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-18 15:38:16 +00:00
Andrew Hind
6a5a8cbe75
Explicitly set locale for the index tests.
...
Correctly find the locale if set on the thread locale via I18utils
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5719 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-18 11:01:51 +00:00
Andrew Hind
5a8f9282b6
Context to disable avm indexing
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-18 08:22:03 +00:00
Andrew Hind
19ce257baa
Add WCM search with atomic indexing around snapshots
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5712 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-17 15:52:46 +00:00
Andrew Hind
7ccadfe5da
Upgrade to lucene 2.1
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5605 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-03 13:53:17 +00:00
Andrew Hind
fc2ebe47d0
Restructure before WCM indexer impl.
...
Fix and retest 2.1 test issues.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5569 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-27 14:39:33 +00:00
Derek Hulley
08897ad76b
Merged V2.0 to HEAD
...
5540: Merged 1.4 to 2.0
5515, 5520: LuceneTest2
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5545 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-25 02:33:59 +00:00
Derek Hulley
4ea83f7f2b
Merged V2.0 to HEAD
...
5448: (From V1.4)
5281 (V1.4): Patches not executed in read-only mode
5284 (V1.4): Integrity messages
5308 (V1.4): Category selector performance
5331 (V1.4): Category performance
5402 (V1.4): AR-1315
5410 (V1.4):
5417 (V1.4): Upgrade script performance
5435 (V1.4): Lucene test text encoding
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-11 23:24:00 +00:00
Derek Hulley
f43d8864cb
Merged V2.0 to HEAD
...
5425: AR-1309
5426: AR-1342
5427: AWC-1157
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-11 21:46:19 +00:00
Andrew Hind
296c55c548
Index deletions by string ID (not NodeRef)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5468 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-10 12:04:21 +00:00
Derek Hulley
4a44e4d3a2
Merged V2.0 to HEAD
...
5135: AR-1240 (AuthenticationComponent bean naming)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5324 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-07 09:59:47 +00:00
Andrew Hind
6759c60b41
Fix parsing of stop words to a null query to generate an approriate non matching query
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5261 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-02 08:39:19 +00:00
Andrew Hind
7e6d2c783d
Enable MTDelete test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5248 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-01 15:47:52 +00:00
Paul Holmes-Higgin
4e2300f095
Updated copyright
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5186 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-19 17:17:36 +00:00
Derek Hulley
0c10d61a48
Merged V2.0 to HEAD
...
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5141 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@51352 .
- FLOSS
- Some files will need a follow-up
-root/projects/repository/source/java/org/alfresco/repo/avm/wf/AVMRemoveWFStoreHandler.java (not yet on HEAD: 5094)
-root/projects/repository/source/java/org/alfresco/filesys/server/state/FileStateLockManager.java (not yet on HEAD: 5093)
-onContentUpdateRecord (not on HEAD)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5167 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-16 06:44:46 +00:00
Derek Hulley
22f523d12b
Merged V2.0 to HEAD
...
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5114 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5115 .
- AR-942
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5131 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5132 .
- AR-1244
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5127 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5128 .
- AWC-1138
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5165 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-16 05:30:09 +00:00
Paul Holmes-Higgin
31c250682b
Changed licence headers
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5081 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-08 18:59:58 +00:00
Andrew Hind
72af87e9c0
AR-1218
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5050 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-06 14:34:47 +00:00
Andrew Hind
faee564ea2
Initialise empty index early
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-01 17:32:34 +00:00
Andrew Hind
eccbeba212
Fixes to index collections of content and MLText
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4982 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-31 14:48:24 +00:00
Andrew Hind
3ba0f45817
Test fix ups for extra locales and to support non-stored non-indexed properties
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4935 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-26 09:48:27 +00:00
Andrew Hind
deff5103ae
Build fixes and indexer fixes
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-24 14:11:27 +00:00
Andrew Hind
81faec07dd
Fix s_logger.error which should have been debug
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-18 10:04:58 +00:00
Andrew Hind
7b77e2e67d
more debug
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-18 09:39:12 +00:00
Andrew Hind
954400026d
improved debug
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4870 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-18 09:05:19 +00:00
Andrew Hind
de338f9d28
More build related stuff
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-17 12:46:22 +00:00
Andrew Hind
b15a708086
Fix for build issue - ConcurrentNodeServiceTest
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-16 17:32:07 +00:00
Andrew Hind
32c9b1c7ea
Reverse pervious change
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4840 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-15 22:35:02 +00:00