To achieve my question above, I used querybuilder that retrieves custom
pages and then I map these maps to a model file.My problem is that in
some instances, there are pages without this custom property (as an
example, let's call it aNew which can be either true or false and of
boolean property).My issue is that when I "cast" the search result hits
to my model, aNew automatically get "false" for pages that doesn't have
this property.Any ideas how it can be done?Map map = new
HashMap<>();map.put(...