websearch
Generated by the pinned ess generate --kind docs from ess. Structural validation establishes consistency; behaviour, storage and cross-record predicates remain implementation obligations.
Proposed provider-independent web search, fetch and crawl values; no runtime or persistent provider owner.
connectors.websearch is one of connectors's bounded contexts. Back to the index.
Types
ContentForm
connectors.websearch.ContentForm is one of none, snippet and full.
CrawlInput
connectors.websearch.CrawlInput is a record of eight fields:
url—Stringlimit—Integermax_depth—Optional<Integer>, which may be absentmax_breadth—Optional<Integer>, which may be absentselect_paths—Optional<List<String>>, which may be absentexclude_paths—Optional<List<String>>, which may be absentallow_external—Optional<Boolean>, which may be absentinstructions—Optional<String>, which may be absent
Failure
connectors.websearch.Failure is a record of two fields:
url—Stringreason—connectors.websearch.FailureReason
FailureReason
connectors.websearch.FailureReason is one of unreachable, blocked, not_text, too_large and provider_refused.
FetchInput
connectors.websearch.FetchInput is a record of one field:
urls—List<String>
Page
connectors.websearch.Page is a record of four fields:
url—Stringtitle—Optional<String>, which may be absentcontent—Optional<String>, which may be absentcontent_truncated—Boolean
PagesAnswer
connectors.websearch.PagesAnswer is a record of five fields:
pages—List<connectors.websearch.Page>failed—List<connectors.websearch.Failure>complete—Booleantruncation—List<connectors.websearch.TruncationCause>provenance—connectors.websearch.Provenance
Provenance
connectors.websearch.Provenance is a record of three fields:
instance—Stringprofile—Stringreceived_at—Timestamp
SearchAnswer
connectors.websearch.SearchAnswer is a record of four fields:
results—List<connectors.websearch.SearchResult>complete—Booleantruncation—List<connectors.websearch.TruncationCause>provenance—connectors.websearch.Provenance
SearchInput
connectors.websearch.SearchInput is a record of nine fields:
query—Stringmax_results—Integercontent—Optional<connectors.websearch.ContentForm>, which may be absenttime_range—Optional<connectors.websearch.TimeRange>, which may be absenttopic—Optional<connectors.websearch.Topic>, which may be absentinclude_domains—Optional<List<String>>, which may be absentexclude_domains—Optional<List<String>>, which may be absentcountry—Optional<String>, which may be absentlanguage—Optional<String>, which may be absent
SearchResult
connectors.websearch.SearchResult is a record of seven fields:
url—Stringtitle—Optional<String>, which may be absentdescription—Optional<String>, which may be absentcontent—Optional<String>, which may be absentcontent_truncated—Booleanpublished—Optional<String>, which may be absentscore—Optional<Decimal>, which may be absent
TimeRange
connectors.websearch.TimeRange is one of day, week, month and year.
Topic
connectors.websearch.Topic is one of general and news.
TruncationCause
connectors.websearch.TruncationCause is one of provider_limit, provider_partial, result_limit, response_bytes and content_bytes.
Five of the types above are reached by nothing else in this system: connectors.websearch.CrawlInput, connectors.websearch.FetchInput, connectors.websearch.PagesAnswer, connectors.websearch.SearchAnswer and connectors.websearch.SearchInput. No entity, view, command, event, error or crossing names them, so it is either vocabulary something outside this specification uses or a leftover — and only a person can tell which.
Generated from connectors v1 · model digest e1e1672d0af4753cb8f2da6c0b22a7f6ae8ce9f7abc168f86169babdf1325787 · contract digest slice-sha256/2:cd695320a60c9fd410dde5ead4e574f3c7e37b30d6ceb49f4d217112b1525a6a. Do not edit this file; change the specification and regenerate it with ess generate.