现有搜索选项允许根据特定数据在目录中的存储位置进行一系列查找。
Existing search options allow for a range of lookups based on where certain data is stored in the directory.
查询解析:在给出位置的地址或其他一些用户规定时,创建可用于根据索引数据进行搜索的编码表示。
Query parsing: Given an address or some other user specification of a location, create an encoded representation that can be used to search against the indexed data.
search_ajax方法根据搜索参数查找菜谱并把数据发送给ERB模板格式化。
The search_ajax method finds the recipes based on the search parameter and sends that data to an ERB template for formatting.
应用推荐