2dsphereIndexVersion only allows versions 1 and 2 despite the default being 3 since mongodb v.3.2

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 3.6.0
    • Affects Version/s: None
    • Component/s: Query Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      2dSphereIndexVersion is 3 by default since mongodb v.3.2. The Java driver throws an IllegalArgumentException if the version is not 1 or 2, thus currently not supporting this type of index for mongodb versions 3.2+.

      https://github.com/mongodb/mongo-java-driver/blob/master/driver-core/src/main/com/mongodb/bulk/IndexRequest.java#L326

            Assignee:
            Jeffrey Yemin
            Reporter:
            Isabel Peters
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: