Top-level paragraphs (that is: paragraphs not embedded in a list) are indexed using the paragraph tag, any additional tags can be added using Tag.

By default, paragraphs are only indexed when they contain a tag. However, you can enable indexing all paragraphs by adding the following to your CONFIG:

config.set("index.paragraph.all", true)

Example query, querying a paragraph with a #paragraph-tag:

${queryfrom index.paragraphs("paragraph-tag"))}