As far as i can see there is gap between app with integrated firebase app indexing installed, and moment when indexed content appear as suggestions when user type query in google search bar.
I can't figure out how it works and what is the period of time user need to wait to see suggestions.
Does developer need to take some actions to force app-indexed-content appearance in search? I mean appearance not as result of search in "IN APPS" tab, but as a suggestion - check attached image:
Asked
Active
Viewed 656 times
5

x90
- 2,140
- 15
- 25
-
How long a gap? Do you mean the autocomplete isn't working for several days after App Indexing works, or a delay in rendering the autocomplete? – Laurence Moroney Jan 13 '17 at 18:42
-
@LaurenceMoroney autocomplete doesn't work for 10-60 mins. On some devices. Actually i didn't found precise pattern when it happens (is it device dependent, or android, or google play services device "back-end" version). – x90 Jan 30 '17 at 14:45
-
+ i mean auto complete of google search works well, but my items appear in auto-suggestion list with delay 10-60mins. – x90 Jan 30 '17 at 14:48
-
in my case, delay is too long. I've implemented this feature 3 hours ago and see content in "IN APPS" tab, but not in suggestions :( – Zakharov Roman Apr 09 '17 at 13:59
-
@ZakharovRoman check on google devices. I assume that behavior may be different on custom vendor roms. Try to implement indexing service as in tutorial. – x90 Apr 09 '17 at 19:22
1 Answers
1
In order for the indexable item to appear in the auto complete suggestions, you must also record a view action after adding the item to the index
FirebaseUserActions.getInstance().start(Actions.newView(item.getTitle(),"http://example.com/item?id=5"))

sbaar
- 1,429
- 1
- 17
- 33
-
thanks for the answer. Why? Why has google put this restriction? Do you have more info? – sam_k Jul 10 '18 at 20:00
-
Probably so users only see items they've previously viewed. A dictionary app would not want to show ''aardvark' every time you type in 'a' into search. But in some cases they would, especially when linking a users' web dictionary account history to a new app download. This behavior is fine, but should really be documented. I would guess that this feature has gone unloved because the focus has moved onto app actions and the new search suggestions inherent in P. This wouldn't be the first time Google did this. The Search content provider was quietly silently deprecated before 5.0 – sbaar Jul 10 '18 at 23:04
-
1Thanks for your reply. Then why developer would index the data if they don't want to see in the autocomplete list of Google Search? – sam_k Jul 10 '18 at 23:07
-
1It took me a while to figure about this behavier and finally I saw your answer on another question and it worked for me. Thanks again for the correct answer. Yes, they don;t have correct and clear document for it. – sam_k Jul 10 '18 at 23:08