Does cmis query language work with lucene anlayzer?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2012 10:56 PM
I use cmis query language. Does cmis query language work with lucene anlayzer?
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2012 08:27 AM
All the Alfresco APIs uses the same Lucene indexes to search content.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2012 06:08 AM
Hi
Most properties are tokenised.
Dates and Numerical fields will behave as you expect in SQL queries.
Text, content and mltext fields will give matches against tokens (and for mltext matches for tokens in other locales by default)
cm:name is special.
It is alanysed twice - one for the FTS and once "as is".
So for name CMIS queries will do an exact match. Other properties can do this if you change then to tokenised "both" in the model and reindex.
CMIS will do an exact match if the model says it is supported - otherwise it will fall back to using FTS style matching.
If you use name in CONTAINS() you can treat it as tokens by default or an an identifier using the the = prefix.
Andy
Most properties are tokenised.
Dates and Numerical fields will behave as you expect in SQL queries.
Text, content and mltext fields will give matches against tokens (and for mltext matches for tokens in other locales by default)
cm:name is special.
It is alanysed twice - one for the FTS and once "as is".
So for name CMIS queries will do an exact match. Other properties can do this if you change then to tokenised "both" in the model and reindex.
CMIS will do an exact match if the model says it is supported - otherwise it will fall back to using FTS style matching.
If you use name in CONTAINS() you can treat it as tokens by default or an an identifier using the the = prefix.
Andy
