【发布时间】:2017-07-18 00:56:01
【问题描述】:
是否可以通过@DBRef 在字符串字段中进行搜索。 我有这个@Document:
public class DocumentFileVersion {
@TextIndexed
@DBRef
private OtherObject otherObject
我将在 otherObject 的字符串字段中进行搜索。有没有可能这样做?
【问题讨论】:
标签: mongodb spring-data dbref