Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用java映射完全相同的reference_link。
好吧,我找到了解决方案,我所做的是:上面的其他代码(从头开始):- .startObject(tags.getTitle()).field("type", "string") .startObject("fields").startObject("raw") .field("type", "string") .field("analyzer", "case_insensitive_sort").endObject() .endObject().endObject() 然后结束代码。
.startObject(tags.getTitle()).field("type", "string") .startObject("fields").startObject("raw") .field("type", "string") .field("analyzer", "case_insensitive_sort").endObject() .endObject().endObject()