Size parameter + duplicates

(dkoum) #1

Hi all,

I am using boolean queries to retrieve index entries, setting the size
param to a preset resultset size.
When the matching documents are less than the preset max, I get duplicate
results to match the "size" requirement.

This is how I build the query:
String json =

Is there a way to retrieve unique results?

thx in advance,

(system) #2