Full text search for one of multiple words

Hi, I was wondering if it was possible to perform a full text search across multiple fields on an Entry for one of multiple words. ideally through the Java SDK?

For example, if I was to have an ‘Article’ entry type with a ‘Title’ and ‘Description’ field, through a UI, performing a search for ‘testing,search’ will search for any article that has ‘testing’ or ‘search’ within the Title or Description fields?

I know at the moment though the Java SDK you can search a specific filed with the ‘hasOneOf’ query but can that be applied to multiple fields so we could have something like ‘Title hasOneOf testing,search OR Description hasOneOf testing,search’.

Thanks very much.

Hey @nmoore!

Sorry for the delay.
As there is no such a method in the API, https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters/full-text-search-on-a-field, I suspect such method doesn’t exist in SDKs either.
I think as an alternative, you can create new search for each field. Another rough workaround would be trying general full text search, i.e. https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters/full-text-search.

Thank you.