Allow retrieval of snippets based on textual content