Ok, then what happened with Alfresco 5?

Karl

On Tue, Nov 3, 2015 at 9:24 AM, Rafa Haro <rharoapache@gmail.com> wrote:
Hi Karl, 

If I remember well, Alfresco also marks deletions as a new Transaction in the system, which is what is being used as seeds. Also, I can ensure that deletions were working perfectly with Alfresco 4.x instances. Therefore, the connector model should be ok

Cheers,
Rafa




On Tue, Nov 3, 2015 at 2:43 PM, Karl Wright <daddywri@gmail.com> wrote:

Hi Chalitha,

It's possible that the connector model is inconsistent with the requirements of the repository.  The model that Maurizio set up is as follows:

  @Override
  public int getConnectorModel() {
    return MODEL_ADD_CHANGE_DELETE; // We return only incremental documents.
  }


That's a model that presumes that seeding will queue up deletions as well as additions and changes.  I don't know the details, but I suspect you will really need MODEL_ADD_CHANGE instead.

Please let me know if you can verify whether Alfresco has the necessary capabilities to allow us to find a list of deleted documents at seeding time.

Thanks,
Karl


On Tue, Nov 3, 2015 at 8:35 AM, Chalitha Perera <cperera@zaizi.com> wrote:
Hi All,

This reference to discussion on Alfresco WebScript Connector - Testing Question [1].

Recently we have started to test Alfresco 5.0.1 enterprise edition with manifoldcf 2.2 and Solr 5.3.1. Initially there was a issue with webscript as we could not get alfresco started after applying the indexer webscript. We have opened an issue here [2] and we have made changes to fix that issue and fork is available here[3].

According to our tests, with regard to change sets, modification to existing documents and new document additions are detected by manifold and indexed correctly in Solr.Also site filtering works as well.

But document deletions are not detected and consequently deleting docs from alfresco does not delete documents from external solr instance. We are currently looking in to that issue. Any help would be greatly appreciated.

@Paul, We have not tested webscript connector with Alfresco community edition. but with enterprise edition modifications and document additions should work fine.

[1] http://mail-archives.apache.org/mod_mbox/manifoldcf-user/201510.mbox/%3C9803FC8E-D326-4150-8069-B436F5623208%40funnelback.com%3E
[2] https://github.com/maoo/alfresco-indexer/issues/6
[3] https://github.com/ChalithaUdara/alfresco-indexer/

Thanks,
Chalitha


This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory.

Zaizi Ltd is registered in England and Wales with the registration number 6440931. The Registered Office is Brook House, 229 Shepherds Bush Road, London W6 7AN.