Skip to content
unlob

community

string[]

Restricts results to one or more graph communities.

Communities come from label propagation over the coverage graph — clusters of passages and hosts that reference each other far more than they reference the rest of the corpus.

Filtering by community is how you stay inside one discourse rather than sampling across several that use the same vocabulary differently.

Example

communitybash
curl -H "x-api-key: $UNLOB_API_KEY" \
  "https://api.unlob.com/search?q=transformer&community=c:412"

Common questions

What does the community filter do?

Restricts results to one or more graph communities.

When should I use community?

A term means different things in different fields and you want just one of them.

How does community behave in practice?

Filtering by community is how you stay inside one discourse rather than sampling across several that use the same vocabulary differently.

Filters are free

Every filter is evaluated against a stored field, so it narrows the candidate set before scoring — a filtered query is often faster than an unfiltered one.