You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@manifoldcf.apache.org by Chalitha Perera <cp...@zaizi.com> on 2015/11/03 14:35:29 UTC

Alfresco WebScript Connector Issue

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. 

Re: Alfresco WebScript Connector Issue

Posted by Chalitha Perera <cp...@zaizi.com>.
Hi Maurizio,

I have created a pull request referring to issue #6.

Thanks,
Chalitha

On Tue, Nov 3, 2015 at 9:07 PM, Maurizio Pillitu <ma...@apache.org> wrote:

> Created issue https://github.com/maoo/alfresco-indexer/issues/8
>
> Thanks,
>   mao
>
> On Tue, Nov 3, 2015 at 4:18 PM Rafa Haro <rh...@gmail.com> wrote:
>
>> Hi Maurizio,
>>
>> Nice to see you here ;-). Could you also take a look to Paul issues with
>> community version?
>>
>> Cheers,
>> Rafa
>>
>>
>>
>>
>> On Tue, Nov 3, 2015 at 4:16 PM, Maurizio Pillitu <ma...@apache.org> wrote:
>>
>>> Hi everyone,
>>>
>>> I'll try to look at it ASAP.
>>>
>>> @Chalitha,
>>> https://github.com/maoo/alfresco-indexer/compare/master...ChalithaUdara:master looks
>>> good, can you please create the Pull Request and refer to issue #6? I
>>> also took the freedom to create
>>> https://github.com/maoo/alfresco-indexer/issues/7
>>>
>>> Thanks,
>>>   mao
>>>
>>>
>>> On Tue, Nov 3, 2015 at 4:01 PM Rafa Haro <rh...@gmail.com> wrote:
>>>
>>>> That’s what we need to check. I hope Maurizio can find sometime to
>>>> check the Alfresco Indexer for Alfresco 5 versions
>>>>
>>>> Rafa
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Nov 3, 2015 at 3:46 PM, Karl Wright <da...@gmail.com> wrote:
>>>>
>>>>> Ok, then what happened with Alfresco 5?
>>>>>
>>>>> Karl
>>>>>
>>>>> On Tue, Nov 3, 2015 at 9:24 AM, Rafa Haro <rh...@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 <da...@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 <cp...@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.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>

-- 

------------------------------
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. 

Re: Alfresco WebScript Connector Issue

Posted by Maurizio Pillitu <ma...@apache.org>.
Created issue https://github.com/maoo/alfresco-indexer/issues/8

Thanks,
  mao

On Tue, Nov 3, 2015 at 4:18 PM Rafa Haro <rh...@gmail.com> wrote:

> Hi Maurizio,
>
> Nice to see you here ;-). Could you also take a look to Paul issues with
> community version?
>
> Cheers,
> Rafa
>
>
>
>
> On Tue, Nov 3, 2015 at 4:16 PM, Maurizio Pillitu <ma...@apache.org> wrote:
>
>> Hi everyone,
>>
>> I'll try to look at it ASAP.
>>
>> @Chalitha,
>> https://github.com/maoo/alfresco-indexer/compare/master...ChalithaUdara:master looks
>> good, can you please create the Pull Request and refer to issue #6? I
>> also took the freedom to create
>> https://github.com/maoo/alfresco-indexer/issues/7
>>
>> Thanks,
>>   mao
>>
>>
>> On Tue, Nov 3, 2015 at 4:01 PM Rafa Haro <rh...@gmail.com> wrote:
>>
>>> That’s what we need to check. I hope Maurizio can find sometime to check
>>> the Alfresco Indexer for Alfresco 5 versions
>>>
>>> Rafa
>>>
>>>
>>>
>>>
>>> On Tue, Nov 3, 2015 at 3:46 PM, Karl Wright <da...@gmail.com> wrote:
>>>
>>>> Ok, then what happened with Alfresco 5?
>>>>
>>>> Karl
>>>>
>>>> On Tue, Nov 3, 2015 at 9:24 AM, Rafa Haro <rh...@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 <da...@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 <cp...@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.
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>

Re: Alfresco WebScript Connector Issue

Posted by Rafa Haro <rh...@gmail.com>.
Hi Maurizio, 




Nice to see you here ;-). Could you also take a look to Paul issues with community version?




Cheers,

Rafa

On Tue, Nov 3, 2015 at 4:16 PM, Maurizio Pillitu <ma...@apache.org> wrote:

> Hi everyone,
> I'll try to look at it ASAP.
> @Chalitha,
> https://github.com/maoo/alfresco-indexer/compare/master...ChalithaUdara:master
> looks
> good, can you please create the Pull Request and refer to issue #6? I also
> took the freedom to create https://github.com/maoo/alfresco-indexer/issues/7
> Thanks,
>   mao
> On Tue, Nov 3, 2015 at 4:01 PM Rafa Haro <rh...@gmail.com> wrote:
>> That’s what we need to check. I hope Maurizio can find sometime to check
>> the Alfresco Indexer for Alfresco 5 versions
>>
>> Rafa
>>
>>
>>
>>
>> On Tue, Nov 3, 2015 at 3:46 PM, Karl Wright <da...@gmail.com> wrote:
>>
>>> Ok, then what happened with Alfresco 5?
>>>
>>> Karl
>>>
>>> On Tue, Nov 3, 2015 at 9:24 AM, Rafa Haro <rh...@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 <da...@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 <cp...@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.
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>

Re: Alfresco WebScript Connector Issue

Posted by Maurizio Pillitu <ma...@apache.org>.
Hi everyone,

I'll try to look at it ASAP.

@Chalitha,
https://github.com/maoo/alfresco-indexer/compare/master...ChalithaUdara:master
looks
good, can you please create the Pull Request and refer to issue #6? I also
took the freedom to create https://github.com/maoo/alfresco-indexer/issues/7

Thanks,
  mao


On Tue, Nov 3, 2015 at 4:01 PM Rafa Haro <rh...@gmail.com> wrote:

> That’s what we need to check. I hope Maurizio can find sometime to check
> the Alfresco Indexer for Alfresco 5 versions
>
> Rafa
>
>
>
>
> On Tue, Nov 3, 2015 at 3:46 PM, Karl Wright <da...@gmail.com> wrote:
>
>> Ok, then what happened with Alfresco 5?
>>
>> Karl
>>
>> On Tue, Nov 3, 2015 at 9:24 AM, Rafa Haro <rh...@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 <da...@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 <cp...@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.
>>>>>
>>>>
>>>>
>>>
>>
>

Re: Alfresco WebScript Connector Issue

Posted by Rafa Haro <rh...@gmail.com>.
That’s what we need to check. I hope Maurizio can find sometime to check the Alfresco Indexer for Alfresco 5 versions


Rafa

On Tue, Nov 3, 2015 at 3:46 PM, Karl Wright <da...@gmail.com> wrote:

> Ok, then what happened with Alfresco 5?
> Karl
> On Tue, Nov 3, 2015 at 9:24 AM, Rafa Haro <rh...@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 <da...@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 <cp...@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.
>>>>
>>>
>>>
>>

Re: Alfresco WebScript Connector Issue

Posted by Karl Wright <da...@gmail.com>.
Ok, then what happened with Alfresco 5?

Karl

On Tue, Nov 3, 2015 at 9:24 AM, Rafa Haro <rh...@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 <da...@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 <cp...@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.
>>>
>>
>>
>

Re: Alfresco WebScript Connector Issue

Posted by Rafa Haro <rh...@gmail.com>.
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 <da...@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 <cp...@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.
>>

Re: Alfresco WebScript Connector Issue

Posted by Karl Wright <da...@gmail.com>.
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 <cp...@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.
>