nested mapping for subject search
it may make more sense to use nested datatype for subject fields, as for this example
<subject>
<id type="/profileDesc/textClass/authorGender@key">authorGender</id>
<value>male</value>
</subject>
<subject>
<id type="/profileDesc/textClass/size@key">size</id>
<value>medium</value>
</subject>
the object is found with work.subject.id.value:"authorGender" AND work.subject.value:"male"
as well as with work.subject.id.value:"authorGender" AND work.subject.value:"medium"
.
drawback is however, that this does not seem to work with the lucene query syntax. so possibly a new API param for subject search would be necessary
Edited by Ubbo Veentjer