简体   繁体   English

在本地索引应用并在Google搜索中显示结果

[英]Indexing app locally and displaying results in Google Search

I was reading about indexing API presented on Google IO 2014 (developers.google.com/app-indexing/webmasters/appindexingapi). 我正在阅读关于Google IO 2014上展示的索引API(developers.google.com/app-indexing/webmasters/appindexingapi)。 One feature I am missing there (or couldn't find it) is local app indexing. 我在那里(或找不到)的一个功能是本地应用程序索引。

I will use example: I want to search my local content specific for me. 我将使用示例:我想搜索我特定的本地内容。 I create an app where every user has different data. 我创建了一个应用程序,每个用户都有不同的数据 Just like notes from Google Keep or Evernote. 就像来自Google Keep或Evernote的笔记一样。 I would like to expose data to google search just for that phone. 我想将数据暴露给谷歌搜索只是为了那个手机。

Am I right that it is not possible in current stage? 我是对的,现阶段不可能吗? Any ideas if Google will do it in the future? 谷歌将来会做什么想法?

Regards, Konrad 此致,康拉德

I think this can be accomplished by implementing a search interface and setting includeInGlobalSearch flag in searchable.xml. 我认为这可以通过在searchable.xml中实现搜索接口并设置includeInGlobalSearch标志来实现。 But in 4.4 this option was removed . 但在4.4中,此选项已被删除

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM