part of sul-dlss/dor_indexing_app/issues/1075 and sul-dlss/dor_indexing_app/issues/1044
We want to be able to boost relevancy in Argo distinguishing between matches on "main title", on "full title" (main title + subtitle and such), and on additional titles.
Since the cocina gem already has a "TitleBuilder" with a lot of the logic present, it is easiest to add the new methods to this gem, rather than duplicate the logic elsewhere. Also, it makes it available for other potential consumers.
part of sul-dlss/dor_indexing_app/issues/1075 and sul-dlss/dor_indexing_app/issues/1044
We want to be able to boost relevancy in Argo distinguishing between matches on "main title", on "full title" (main title + subtitle and such), and on additional titles.
Since the cocina gem already has a "TitleBuilder" with a lot of the logic present, it is easiest to add the new methods to this gem, rather than duplicate the logic elsewhere. Also, it makes it available for other potential consumers.