48 Commits

Author SHA1 Message Date
Andrew Hind
df21ad9f8b Fix reference counting in the new indexer.
Added instrumentation to the new indexer.
Exposed lots of configuration options for the new indexer.
Added debug settings for the new indexer.
Fixed search test model for sort tests (1.3 merge fun)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3455 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-03 13:34:02 +00:00
Andrew Hind
b2318d04f3 Improve deletion retry
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3446 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-01 17:11:49 +00:00
Andrew Hind
8814fac8bc Commented out cleaner and merger threads by accident ...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3433 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-28 15:06:01 +00:00
Derek Hulley
af2b0b5993 Commented out sort test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3417 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-26 16:36:22 +00:00
Derek Hulley
f4e00169ab Merged V1.3 to HEAD (3180:3203, 3204:3217)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3180 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3203 .
   svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3204 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3217 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-26 11:00:06 +00:00
Andrew Hind
06bc5cf73b New Indexer is now the default (the old one can be used but you can not switch back to it)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-21 15:39:14 +00:00
Andrew Hind
fd1646e8a8 New index backup.
Ordering tests for the new indexer,
More robust new index merger thread - more to come. 

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3372 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-21 15:04:23 +00:00
Andrew Hind
922dfa2102 Fix AR-776 Search not ordering numbers of mixed sign
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3368 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-21 14:30:55 +00:00
Andrew Hind
9025ad537a Performance improvements for new indexing:
disable lucene locks, faster FTS deletes and overlays, in memory merging

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3311 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-12 16:50:31 +00:00
Andrew Hind
15554ce96b Comment out for linux build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3147 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-19 11:46:14 +00:00
Derek Hulley
dab54834b8 Fixed unreported bug when doing Lucene search across all attributes on types that contain numeric properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3123 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-16 10:46:04 +00:00
Derek Hulley
d20935dc16 Javadoc cleanup
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3109 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 10:42:21 +00:00
Andrew Hind
4d3c3e6659 Build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3091 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-13 15:53:38 +00:00
Andrew Hind
9a91ea7912 New indexer implementation.
It is usable with caution.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3088 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-13 10:39:16 +00:00
Andrew Hind
94b52b6e0e Index update check point
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-09 13:32:54 +00:00
Derek Hulley
ea441e8f27 Fix AR-499: Indexing of content pushed to the background for slow (>50ms) transformations.
- Made delay configurable


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-08 13:26:23 +00:00
Derek Hulley
6fad540064 Fix AR-499: Indexing of content pushed to the background for slow (>50ms) transformations.
- We can make this configurable if required
 - This mostly means that text formats will be indexed atomically while slower transformations will be pushed back


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-08 13:12:31 +00:00
Andrew Hind
cd2afd1504 WIP update
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2999 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-30 15:22:37 +00:00
Andrew Hind
b399abfaae Revised Indexer WIP
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-25 13:52:41 +00:00
Derek Hulley
3473e1a1a0 Fixed complete muppetry
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 16:42:47 +00:00
Derek Hulley
55393337ef Tweaks to some methods that were heavily used.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2877 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 14:35:59 +00:00
Andrew Hind
417a123625 encoding reound trip test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2728 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-28 13:41:49 +00:00
Andrew Hind
fff0a5d49c debug linux build failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-27 10:44:44 +00:00
Andrew Hind
7518e88d01 remove 0123 and 0890 which are ? .....
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-26 15:41:33 +00:00
Andrew Hind
41178c88d1 Output string in test for linux debug
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2710 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-26 13:29:07 +00:00
Andrew Hind
62286fed22 Another attemp at encoding
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2707 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-26 09:16:00 +00:00
Andrew Hind
90cd929b83 Linux build warnings and encoding fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-25 12:40:02 +00:00
Andrew Hind
d467d1a208 IOC for scheduling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2696 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-24 16:22:49 +00:00
Andrew Hind
09e6edf88e Remove scheduled action xml
Fix AR-123 lucene PATH serach for "/" and "/." now work

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2675 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-20 15:08:09 +00:00
Andrew Hind
6812223a4e Fix index bug where deletes at the end if the current TX are not seen
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-07 09:31:42 +00:00
Andrew Hind
4dcd14a59a Test Fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2614 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-04 11:19:50 +00:00
Andrew Hind
57e7a4f77e Added support for result set meta data
Added size limits for result sets
Updated/improved comments

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-23 15:14:22 +00:00
Derek Hulley
506e408ca7 Merge V1.2.0 BRANCH to HEAD
svn merge -r 2519:2565 svn://www.alfresco.org/alfresco/BRANCHES/V1.2.0/root HEAD/root


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-22 12:23:43 +00:00
Derek Hulley
0a30d7f036 Removed unused code
Hid unused code warnings for local variables that might be useful for debugging


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 13:59:30 +00:00
Andrew Hind
2d1258dd7c only check and clear write locks (not commit locks)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2424 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-17 11:12:36 +00:00
Andrew Hind
391a0e2d12 First go at bug 413
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-14 10:51:26 +00:00
Derek Hulley
cecaaf4fd3 Fixed NullPointerException when encountering minimal ContentData node property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2304 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-06 16:48:27 +00:00
Andrew Hind
f9ccb9ad25 Lucene config and TX fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-03 13:25:42 +00:00
Derek Hulley
2ff11e6114 XPath function usage exceptions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2211 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 01:39:38 +00:00
Derek Hulley
65be3657f2 Converted test source code to UTF-8
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2208 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 23:38:44 +00:00
Andrew Hind
4408850b7a Guest and LDAP progress
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2127 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-17 14:17:39 +00:00
Andrew Hind
cd72520330 Extended Path parsing ...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2111 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-13 16:28:17 +00:00
Kevin Roast
6c65b84a91 . Advanced Search improvements
. Fix to Lucene Indexer (from Andy) to correct the bug where if content was not indexed (e.g. JPEG) then it's mimetype/size values did not get added to the index.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2107 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-13 13:21:29 +00:00
Andrew Hind
5311248be8 Remove System.out.println
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2096 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-10 15:48:55 +00:00
Derek Hulley
9528d9d941 More concise error messages when root node entries are incorrect in index
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2071 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-04 12:44:54 +00:00
Andrew Hind
c1942e3c56 Novell IChains
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2005-12-19 16:25:33 +00:00
David Caruana
a622bf02cd - JCR L2 Document View Import
- Move ISO9705 to util

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2005-12-09 18:02:03 +00:00
Derek Hulley
e1e6508fec Moving to root below branch label
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2005-12-08 07:13:07 +00:00