Effeciently querying for content items associated to a specific term?

Topics: Customizing Orchard
Jan 10, 2014 at 1:39 PM
Cross Post: http://stackoverflow.com/questions/21047070/efficiently-querying-for-content-items-associated-to-a-specific-term-in-orchard

I've got a content type with a TaxonomyField, and a number of content items with various terms associated to them. Given a term (not a term ID, but the actual textual term), what's the most efficient way to query for all content items associated with that term?