I am currently working on defining search forms for my custom content model. In this model, I have an aspect (projectRelated) which allows the selection of a value (a project) from a constrained list. However, this is not a mandatory aspect, and not all of my documents will have a value for this aspect.
This leads to a problem when configuring my search form for my custom content type. If I want to include this aspect as a searchable parameter, I currently have to choose a value from this list, which means any documents which don't have this aspect applied to them are automatically excluded from the search. I am looking for a way to search without having to set this value (e.g. by choosing an "unknown" or "none" value from the dropdown list). Any ideas?