Return search results by custom data attribute

I was not able to find the instructions in the manual and on the forum, so I’m leaving it here, just in case others need to also reference a custom data attribute in their search queries.

My example: I have a custom data attribute called “Source”:

to use it in the search results:

mdsource: [source_name]

that is, you would add “md” to your custom data identifier name and use it in search.

hope this helps others!

Thanks for sharing your finding and indeed using the md prefixing is the case.

This is also documented in the Appendix > Search Prefixes > Custom Metadata.

2 Likes

Ahh… thanks, Jim! Somehow, it still slipped away from me! But now, hopefully, everyone will be able to find it :slight_smile: