CLONE - Solr index not updated upon aspect removal

Description

Description:

If you first add the dublincore aspect including an identifier to a document and then remove the aspect, the expected behaviour is not to be able to find the document by the identifier. Currently, in 2.0, if you remove the aspect you are still able to search by the identifier.

Search Services 1.4 would remove the identifier from the cache but 2.0 does not show a change in the cached results

Steps to reproduce:

1 Setup Alfresco 6.2.2 and Search Services 2.0

2 Add a document x

3 Add aspect dublincore to document x

4 Add an identifier y to document x

5 Search for cm:identifier:y => document x found

6 Remove aspect dublincore from document x

7 Search for cm:identifier:y => document x found

 

Expected behaviour:

 Document x is not found

Observed behaviour:

 Document x is found

 

Environment

Windows, Linux

Done

Assignee

Unassigned

Reporter

Marco Tonelli

Labels

Regression

None

Bug Priority

Category 2

Delivery Team

Search

Release Train

West Drayton

Story Points

13

Sprint

None

Fix versions

Affects versions

Configure