Does objectIDs need to be stable for query suggestions to work as expected?

I have data index with records having non-stable objectIDs — i.e. they may change upon re-indexing (it’s always a full records replacement with replaceObjects).

If I setup query suggestion for this index, will non-stable objectIDs cause a problem?

Query suggestions just looks at popular search terms that return results when building the suggestions index. Since it only tracks the keywords and not the individual result objects, you should be fine using with unstable objectIDs.

The unstable ObjectIDs will become more of a problem if you start using features based on click and conversion data, like click and conversion analytics, or our Recommendations models.