Home > Back-end > As an intern is too difficult, want to help predecessors spring - data - how elasticsearch query com
As an intern is too difficult, want to help predecessors spring - data - how elasticsearch query com
Time:10-04
My question is like this, index repository is nested in some fields, such as the host. The hostname, the middle point, also is a multi-level fields, I use a spring - data - elasticsearch wrote after the search, acquisition is null, but I can get those only has one rank field, as the chart, the ball ball you help me see As an intern is too difficult, want to help the building spring - data - how elasticsearch query complex object?
CodePudding user response:
Just suddenly found so that we can, but the print result is , using spring - data - elasticsearch has done this kind of object type? How to get the host. The hostname, I according to the results of figure 2 print take string or myself to write a class encapsulation, feeling a bit complicated, don't know the spring - data - elasticsearch itself provides no?
CodePudding user response:
Well since the left since the buckle, you have to solve https://blog.csdn.net/qq724737991/article/details/105080022