[JAVA-3441] Reintroduce plain String query hint Created: 19/Sep/19  Updated: 28/Oct/23  Resolved: 14/Nov/19

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: 3.11.0
Fix Version/s: 3.12.0

Type: New Feature Priority: Minor - P4
Reporter: Christoph Strobl Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends

 Description   

FindIterable#hint only accepts Bson. This prevents users from passing in an index name as it has been possible with DBCursor#hint(String).

Related issue: https://jira.spring.io/browse/DATAMONGO-2365



 Comments   
Comment by Githook User [ 15/Jan/20 ]

Author:

{'name': 'Jeff Yemin', 'username': 'jyemin', 'email': 'jeff.yemin@10gen.com'}

Message: Support hint string in Scala FindObservable

JAVA-3441
JAVARS-221
SCALA-565
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/bd7bd62dc2068acc6685ced5ca5df522cf0df861

Comment by Githook User [ 15/Jan/20 ]

Author:

{'name': 'Jeff Yemin', 'username': 'jyemin', 'email': 'jeff.yemin@10gen.com'}

Message: Support hint string in FindPublisher

JAVA-3441
JAVARS-221
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/57a29b8bb0f83e1b741fab080c93aa093979635c

Comment by Githook User [ 14/Nov/19 ]

Author:

{'name': 'Ross Lawley', 'username': 'rozza', 'email': 'ross.lawley@gmail.com'}

Message: Added hintString to FindIterable

Also removed deprecations for count hintString

JAVA-3441
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/41d21d26552128da549d8f8201e8edc600e6f5f4

Comment by Ross Lawley [ 12/Nov/19 ]

PR: https://github.com/rozza/mongo-java-driver/pull/336
PR: https://github.com/rozza/mongo-java-driver/pull/337

Generated at Thu Feb 08 08:59:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.