From this developer guide,
The database mode must include DATABASE_MODE_QUERIES and can optionally include DATABASE_MODE_2LINES, which adds another column to the suggestions table that allows you to provide a second line of text with each suggestion.
From this reference doc,
public static final int DATABASE_MODE_2LINES
This mode bit configures the database to include a 2nd annotation line with each entry. optional
The question is that where does this annotation line/text come from?
From what I have read in the developer guide so far, we are not providing any annotation text with our search query which would go in the extra column added in the suggestions table, and later served in Recent Suggestion List as the second annotation line.
You provide it when you save a search query to your collection of recent queries by calling
saveRecentQuery(searchQuery, annotationText)
on an instance ofRecentQuerySuggestions
:Reference
From the reference of
saveRecentQuery
: