mirror of
https://github.com/karust/openserp.git
synced 2026-08-16 05:16:02 +08:00
- All search endpoints now return a JSON envelope with query echo, meta (request_id, took_ms, engines_responded, engines_failed, version), results array, and pagination fields - SearchResult renamed to RawResult internally; new Result struct adds id, type, display_url, domain, favicon, is_ad, position, engine_meta, domain_info, classification - Result IDs are stable SHA-256 hashes of engine+normalized_url - Bing redirect URLs (bing.com/ck/a) are unwrapped before hashing - ResultType enum defined: organic, ad, answer_box, featured_snippet, etc. - /mega/search response includes clusters array grouping same-URL results across engines with score, best_rank, and occurrences - engines_failed field surfaces partial failures in megasearch - Lightweight domain enrichment: TLD/SLD, is_gov/edu/mil/news/forum/ marketplace/social flags, content_type and source_hint classification - SearchAllParallel/SearchAllImageParallel now return (results, responded, failed) - Image endpoints return ImageEnvelope with dedicated ImageResult shape