Search the project
searchFinds or looks up where something is, or where the project talks about something: the documents, sections, tasks, notes and files that mention a subject, a person, a client or a contract, by their words. Takes one to five queries, each with terms that must appear and terms that raise the rank (synonyms, other spellings, the other language if the project uses two). Files are found by their name and path, and text files by their words too. Returns § addresses ranked by the words and by how things link to each other, each with its kind, title, headline, author, date and length in tokens: 20 by default, 50 at most. It ranks what matters most and does not list every line that holds a string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Only these kinds. Default: all. | |
| limit | No | How many results. Default 20. | |
| since | No | Only things changed on or after this day, YYYY-MM-DD. | |
| until | No | Only things changed on or before this day, YYYY-MM-DD. | |
| detail | No | full, the default: each row with its § address, kind, title, headline, author, date and length in tokens. short: each row with its § address, title, headline, author and date. | |
| reason | Yes | What you are looking for and why, in a sentence. Kept with the search. | |
| folders | No | Only these top-level folders, like research. | |
| project | No | The project's slug, from open_project, like acme. Not needed when a § address names the project, or when the person is on one project. | |
| queries | Yes | One to five phrasings of what is looked for. Each is ranked on its own and the rankings are fused by reciprocal rank, so what several phrasings find comes before what one finds; two to four phrasings in other words (other word forms, synonyms, the other language) find more in a large project than one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| engine | Yes |