Don't want duplicate entries from query
Hi,
I have an existing query and I have updated it with one filter but now I am getting duplicate results. I don't want duplicate entries.
Query:
SELECT * FROM [nt:base] AS s WHERE (ISDESCENDANTNODE(s, [/etc/commerce/products/myProject/en/devices])) and s.derivedInventoryStatus = 'Back Order' and s.availabilityStatus = 'Sellable'
for unique results, do I need to update any properties for the below nodes ?
1. /oak:index/lucene/indexRules/nt:base/properties/derivedInventoryStatus
2. /oak:index/lucene/indexRules/nt:base/properties/availabilityStatus