This PR addresses an issue where searching from the UI for dc_title would search both dc_title and dc_title_alternative. Normally that's what we want; however, when using the boolean operator AND this resulted in searches for dc_title AND dc_title_alternative. Some documents don't have an alternative title and the search would fail.
Instead, now, the UI just passes dc_title and the backend determines which fields to use in a way that produces the results we want.
Also updated for dc_contributor* (author, editor, etc).
Closes #291
This PR addresses an issue where searching from the UI for
dc_title
would search bothdc_title
anddc_title_alternative
. Normally that's what we want; however, when using the boolean operator AND this resulted in searches fordc_title
ANDdc_title_alternative
. Some documents don't have an alternative title and the search would fail.Instead, now, the UI just passes
dc_title
and the backend determines which fields to use in a way that produces the results we want.Also updated for
dc_contributor*
(author, editor, etc).