【发布时间】:2013-11-15 00:14:42
【问题描述】:
我需要按 DocId 进行搜索,因为我在 Drive 中有文件也在搜索,并且需要合并结果。我还需要限制其他领域的结果。我试过这个查询:
INFO: Searching with query: DocId:(4842249208725504 5405199162146816 5510752278413312 5581121022590976 5827411627212800)
但是,即使它们存在,它也找到了 0 个结果。我也试过doc_id 和id。
log.info("Searching with query: " + q);
try {
Results<ScoredDocument> results = getIndex().search(q);
我还需要按其他字段过滤,例如:
DocId:(123456789) year:(2012)
其他字段在搜索期间有效,但不是 DocId。在管理界面中,它将 DocId 显示为字段之一! http://localhost:8888/_ah/admin/search?subsection=searchIndex...
【问题讨论】:
标签: google-app-engine google-search-api