Affects Version/s: None
Sprint:Team Ninja-King - S&I 40, Team Ninja-King - S&I 41, Team Ninja-King - S&I 42
Setup 1: ACS latest + SS / IE (latest) in standalone mode
Setup 2: ACS latest + SS / IE (latest) in sharded mode
To reproduce the error:
Run the e2e-test > FacetedSearchTest > searchWithQueryFaceting()
Or create a plain text file cars.txt and run the following search query on Setup 1 and Setup 2:
URL: POST http://localhost:8081/alfresco/api/-default-/public/search/versions/1/search
The response should be consistent in standalone / sharded mode. Buckets with 0 count should be supressed in the response consistently if that's the desired behaviour.
In a sharded mode, the following 2 facet buckets are supressed / not included in the response. These are returned in a standalone mode.
In a Standalone mode, the query returns:
In Sharded mode, the query returns:
- The results should not return zero (the results should be consistent between standalone and sharded)
- Setting minCount (facet fields) to 0 will force it to 1.
- Update API documentation if required with this behaviour. Security implications of returning sensible data.
- Add e2e test for sharded environment