Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Mobile 2.6, Mobile 2.7, Mobile 2.8, Mobile 3.0
Description
In all Mobile documentation pages (all CB LIte SDK included: Java; Android, Objective C, .Net...), the "city" value is mentioned for value index for predictive queries:
The code below creates a value index from the "label" value of the prediction result. When documents are added or updated, the index will call the prediction function to update the city value in the index. |
Some examples of doc. pages with the mistake (among others):
https://docs.couchbase.com/couchbase-lite/2.7/csharp.html#value-index
https://docs.couchbase.com/couchbase-lite/current/objc/querybuilder.html#value-index
To my understanding, it should be "label" everywhere instead of "city".