# Smart Search

> Smart Search对于客户最大的价值，就是可以获得更多更全的航线覆盖

## 什么是Smart Search？

Smart Search对于客户最大的价值，就是可以获得更多更全的航线覆盖。

目前客户在Atlas搜索航线时，我们是根据客户需求、将提前通过API或者HTML爬虫收集到的缓存数据返回出来。

为了平衡航司L2B与流量成本，我们并不能覆盖航司全部支持的航线与booking window。

而Smart Search的出现可以充分解决这个问题。

***

## 工作原理介绍

当客户搜索的航线或者日期时，系统优先从缓存里返回数据；

同时对于不在我们的缓存数据内，但存在于我们支持的航司的整体航线、booking window内的航线，系统会发起直接搜索，想航司API或者HTML请求实时数据；

客户可以根据自己的业务特性，选择可以等待多长间隔之内返回的数据。

***

## 适合的客户场景

1. 对于缓存没有覆盖或者采集失败的booking window 与routes，支持实时流量搜索，提升coverage与搜索有结果率
2. 对于搜索需求量较低的航线、booking window，用实时取代缓存，从而降低L2B
3. 部分供应商（例如baosheng），可配置用直接搜索取代缓存，从而降低L2B
4. 对于售前场景，在flight deck上做fare comparison时，超低流量实时搜索，提升覆盖率


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://resources.atriptech.com/chan-pin-jie-shao/smart-search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
