Skip to content
RAGRAF

neighbors

Edition: community ragraf_neighbors

Neighbouring contours: a ready implementation of the same stack

Parameters

Name Type Default
querystr''
namestr''
limitint20
per_corpusint5
stackstr | list[str] | NoneNone
min_sharedint1
with_textboolTrue
verifyboolTrue
kindslist[str] | NoneNone
answerboolFalse

Call example

ragraf -p config/ragraf.yaml query neighbors

Angle brackets mark a required parameter; defaults may be omitted.

What it returns

The answer is assembled by the operation and described by the envelope.

When it refuses

An empty result is exit code 0 with found=false, not an error. Code 3 is returned only when the operation cannot run right now: for example slice when capability is not full. The reason is always named in the note field.