name | type | implicit value |
---|---|---|
prolog_template | string | "" |
No parameters.
| ||
epilog_template | string | "" |
| ||
doc_file_template | string | "%1File %0:\n" |
Document id for documents starting at offset 0.
| ||
doc_section_template | string | "%2File %0 (from %1)\n" |
Document id for documents starting in the middle of
a file.
| ||
doc_title_template | string | "" |
This is a template with specific capabilities
for locus on HTTP server, meant to replace
doc_file_template and doc_section_template. If it's not empty, it's used
instead of them.
| ||
doc_end_template | string | "" |
No parameters.
| ||
metric_template | string | "%0 = %1\n" |
Value of a normalized
metric for this document. See
show_relevance.
| ||
relevance_template | string | "result = %0\n" |
Relevance of this document. See
show_relevance.
| ||
clot_head_template | string | "%0*" |
| ||
clot_break_template | string | "%0\n...\n" |
| ||
clot_tail_template | string | "%0\n" |
| ||
passage_template | string | "%3%0%1%2" |
| ||
highlighted_passage_template | string | "%4%0%1%3%2" |
| ||
cruft_rx | string | "" |
Any text in returned passages (%0, %1 and %2 in both
passage_template and
highlighted_passage_template) matching
this regular expression is removed. My favorite value for HTML is
"^[^<]*>|<[^<>]*>|<[^>]*$".
| ||
cruft_rx_is_case_sensitive | int | yes |
Self-explanatory.
| ||
hit_in_title_separator | string | "+" |
See
doc_title_template.
|
Default output formatting uses ANSI colors. Beware: due to a bug, clots can display twice at the same screen position, obscuring part of the output. In option values, colors are coded by a three-digit integer: hunderts means attribute (0 normal, 1 bold/bright, 2 underscore, 3 blink, 4 reverse, 5 concealed), tens foreground and ones background (0 black, 1 red, 2 green, 3 yellow, 4 blue, 5 magenta, 6 cyan, 7 white).
name | type | implicit value |
---|---|---|
doc_name_color | int | bright yellow on black |
text_color | int | white on black |
occ_color | int | bright green on black |
head_tail_color | int | bright yellow on black |
Up: output options | Top: locus homepage |