50628

Firestore: Bug in Index creation utility involving array fields

Was trying out firestore array-contains feature:

I have a projects collection having an array field, projectUsers

Query:

db.collection('projects') .where(`deleted`, '==', false) .orderBy('lastUpdate','desc') .where('projectUsers', 'array-contains', '56xxxxxxxxxxxxxxxxxxxxc9') .get() .then(function (doc) { .... .... })

Firestore promptly gave me the index creation link that directed me to this: <img src=https://www.e-learn.cn/content/wangluowenzhang/"https://i.stack.imgur.com/WPJFy.png" alt="index creation screen">

When I click on the Create index button, nothing happens! Console shows the following error:

code: 400 message: "Unknown Index field mode: MODE_UNSPECIFIED" status: "INVALID_ARGUMENT"

Answer1:

Got this reply from google:

Thank you for the information provided. We have fixed this issue, it will be pushed by the end of next week. If you continue experiencing this issue after that, please let us know.

Recommend

  • Using indexPath.row to get an object from an array
  • How can I exclude one html view in whole project to be applied from CSS?
  • [Firestore][I-FST000001] Could not reach Firestore backend
  • How do I group and order with sql at the same time?
  • Firestore document references, can you expand the document server side?
  • Firestore query reads all the documents again (from database) when only one is modified even with pe
  • Rewrite self join to JPQL
  • How to orderByValue onSnapshot using Firestore
  • Lua- Iterating nested table
  • How to retrieve the Id of a single Firestore document?
  • How select second line from top 2 or something similar?
  • Load balanced Fiware Orion
  • Pass large string into api controller by $http angular service
  • How to add an object in my collection by only using add method? [closed]
  • Create registry key in 32-bit hive on x64 PC using Installshield 2012 LE - Avoid redirection
  • Oracle - Second level subquery cannot see field from main query
  • How to skip require in ruby?
  • CodeIgniter URI Parameter is partially bypassing an “if” statement
  • Dart - Isolate Cross Window Communication
  • How to autopopulate a field in SugarCRM form
  • Add dynamic data to line chart from mysql database with highcharts
  • Using Sax parsing to edit and write XML in VB6
  • How to view images from protected folder with php?
  • why xml file does not aligned properly after append the string in beginning and end of the file usin
  • Webgrid not refreshing after delete MVC
  • How to attach a node.js readable stream to a Sendgrid email?
  • OpenGL 3.3 on Mac OSX El Capitan with LWJGL
  • Jquery UI tool tip close icon
  • PostgreSQL Query without WHERE only ORDER BY and LIMIT doesn't use index
  • Using $this when not in object context
  • JSON with duplicate key names losing information when parsed
  • Traverse Array and Display in markup
  • Qt: Run a script BEFORE make
  • How can I remove ASP.NET Designer.cs files?
  • Reading document lines to the user (python)
  • Binding checkboxes to object values in AngularJs
  • How to Embed XSL into XML
  • Net Present Value in Excel for Grouped Recurring CF
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize
  • How to load view controller without button in storyboard?