Andrew Hind
93876b8079
Fix for MOB-1221: Sorting on an indexed field that has not yet been applied to any node causes an exception in the SearchService
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-08-12 14:27:38 +00:00
Andrew Hind
dece4d5a4b
Fix for MOB-1185: Alfresco FTS does not respect dual tokenisation when ordering (and locale etc etc)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15300 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-21 10:34:08 +00:00
Andrew Hind
592a2bb2fc
Added support for paging using SearchParameters on the SearchService API (ARCHIVE-85)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14651 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 10:07:42 +00:00
Andrew Hind
1a261b54fd
Added generic support for lucene scalar functions and used the to implement CMIS Upper/Lower string functions (MOB-221)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14578 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-08 10:42:01 +00:00
Andrew Hind
e46585becf
More SearchService refactor. Added CMIS SQL to the search service. Tidy ups. FTS supports default namespace and templates via search parameters API. (MOB-568, MOB-569)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14463 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-28 10:34:51 +00:00
Andrew Hind
7c934abbe4
Search API updates. FTS fixes for range and dual tokenisation.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14419 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-22 14:36:48 +00:00
Derek Hulley
24b8ae3b16
Reversed out revisions 14366, 14361 and 14356
...
- Just prior to this, created dev branch DEV/ANDY_HEAD_ROLLBACKS
- Andy: Switch to this branch on your local copy if you have changes to any of the files modified here
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-20 10:32:23 +00:00
Andrew Hind
d195ff8542
First pass at fixes/extensions/tidy ups to the search API - part of wiring FTS up as a query language MOB-568
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-19 14:06:15 +00:00
Andrew Hind
418035df05
Fix support for CMIS SQL range and FTS for dual tokenised types. Add template support to the FTS parser. (MOB-568, MOB-219, MOB-569)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14356 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-19 09:19:55 +00:00
Andrew Hind
66b639ac77
FTS: Fuzzy matching, boosted queries, sloppy phrase matching, code tidy up, add API for specifying Analysis type (MOB-571)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14173 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-01 20:06:18 +00:00
Andrew Hind
46a2ffcb82
FTS - Tidy up parser, ISO9075 escape sequences, wild card queries, prefix queries, fuzzy queries - part 1, boosts - basic test (MOB-571)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14139 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-30 14:14:24 +00:00
Andrew Hind
7cd1ccae96
FTS - add range support - MOB-571
...
- range is not suported for TEXT and ALL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14114 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-29 08:56:36 +00:00
Andrew Hind
f743983dcb
FTS Parser (MOB-571): Field Groups; Proximity; Escaping in phrases, terms, and identifiers; return to the old default to OR terms together; support for |+-! and not; forced tokenisation
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14104 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-28 13:36:38 +00:00
Andrew Hind
bf949d306b
More FTS implementation (MOB-571)
...
- preliminary support for exact term matches
-cm:content, cm_content, {..}content and old @ prefixed fields
- basic tests for above + AND + OR
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14029 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-21 13:23:44 +00:00
Andrew Hind
65d2aa1d7a
Refactor CMIS property accessors to remove duplicate code. Basic wire up for fts query language and some simple tests (MOB-574). Parser WIP (MOB-571)
...
- added support for properties and column aliases in CMIS embedded FTS
- simple pass-through column support for FTS
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-16 10:41:33 +00:00
Andrew Hind
6a20eda27f
Final parts of FTS and CMIS split (MOB-570, MOB-573). Started adding FTS as a query language (MOB-574)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13955 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-15 12:25:53 +00:00
David Caruana
af2b4f43c4
Refactor CMIS property accessors (value / lucene mappers).
...
- remove notion of generic property accessor; consolidated on named property accessor
- build property accessors at time of CMIS Dictionary creation (cached, removes continuous creation of small objects); hooked into CMIS Property Definition
- remove property service
- lookup of property accessor quicker and constrained to properties in CMIS Dictionary
- fixup fallout in CMIS AtomPub, Web Services and Query
CMIS AtomPub, Web Services and Query tests pass.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-02 12:06:26 +00:00
David Caruana
8fcebdc7cf
CMIS Dictionary Refactor
...
- follows pattern of Alfresco Dictionary
- simplified and much reduced DictionaryService interface
- model now compiled and cached (no more lots of small continuous object creations)
- walk model via simple getters
- validated (no dangling references)
- fix up property inheritance
- fix up sub-types for all types
- implements strict mode only for now (i.e. doesn't go outside of CMIS doc, folder, rel and policy)
- abstract helper for building other CMIS dictionaries (e.g. mapping all types in Alfresco)
Alfresco Dictionary:
- add event for initialized or re-initialized
Fix up usage in CMIS REST, Web Services and query. Tests pass.
REST support for custom sub-types and properties now reliable as constrained by validated CMIS model.
TODO:
- hook property value accessors into CMIS Dictionary
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13768 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-27 23:13:29 +00:00
Andrew Hind
e32260836e
Build fix: CHK-6803, MOB-587: Missed setting to allow wildcards at the start of lucene queries.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-16 14:30:51 +00:00
Andrew Hind
b3b960b03b
Lucene upgrade to 2.4.1: MOB-587: First round of fixes for the query parser
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-16 12:08:04 +00:00
Andrew Hind
4e9a4cc1c6
Merged V3.1 to HEAD
...
12867: Part 1: JAWS-220: Fix existing tests and tests for sort
12879: JAWS-219: Part 1: First cut of support for CMIS objectid = objectid joins
12891: Complete minimalist support for Policies
12912: CMIS Query: JAWS-219: Tests, fixes and better checking
13062: Fix for ETHREEOH-1162:Issue with skipCount parameter for CMIS query service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13224 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-02-13 12:52:35 +00:00
David Caruana
a2f7d13e76
Merge from SEAMIST3
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10735 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:25:34 +00:00
David Caruana
a6625b1c61
Merge from SEAMIST3
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:22:17 +00:00
David Caruana
41b5618d1d
Merge from SEAMIST3
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10732 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:15:27 +00:00
David Caruana
a1bcf7419c
Merge from SEAMIST3
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10731 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:09:45 +00:00
David Caruana
ae909e7413
Merge from SEAMIST3
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10730 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:08:13 +00:00
David Caruana
d894798ee4
Merge from SEAMIST3
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10729 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:06:42 +00:00
David Caruana
a2d811b8e6
Merge from SEAMIST3
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10726 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 10:56:47 +00:00