tsgrp / OpenContent

TSG's Web Services for ECM Repositories
8 stars 4 forks source link

FTS Queries For Alfresco Implemention #11

Open mkolas opened 10 years ago

mkolas commented 10 years ago

In order to take advantage of transactional database queries in 4.2, we need to use FTS or CMIS in place of Lucene throughout the Alfresco Implementation. We're mostly focused on the executeQuery method that is used throughout HPI, but we need to check to see if we need to replace Lucene anywhere else (EnhancedQueryCriteriaBeans, for example)

gsteimer commented 10 years ago

For future reference the benefit of moving to FTS (or CMIS) for the OC query implementation is that these tools solve the Solr "eventual consistency" problem.

Also, from the HPI group discussion, we think that FTS will be easier to migrate to since it is formatted much like Lucene queries. CMIS would be a complete rewrite.

Other Notes:

gsteimer commented 9 years ago

@mkolas @dgrumieaux @cmlewis - can this be closed out? I thought we migrated to FTS as part of the Alfresco 5 upgrade...

dgrumieaux commented 9 years ago

@gsteimer - The query implementation code now uses FTS as a part of the Alf 5 upgrade, but there are still multiple other places in OpenContent that utilize Lucene if I'm not mistaken. I don't think the list is very long though.