按照文件和查询的逻辑形式的预定函数将文件排序。
Documents are ranked as a predefined function of the logical forms from the documents and the query.
现在增加- s选项,按照size属性对文件排序(参见清单13)。
Now you can add the -s option to sort the files by the size attribute (see Listing 13).
那些不能被拆分为单个微小更新的计算任务(比如对一个文件排序)仍然最好由MapReduce承担。
Computations where the result can’t be broken down into small updates (sorting a file, for example) are better handled by MapReduce.
应用推荐