Very solid work thanks for the video but i think Criteria Api is more useful for kind of project what do you think guys
@PushpendraKushvaha7 ай бұрын
I think for simple search query Criteria API will be fine, but for more complex and if have hug data and need more analytics on data then ElasticSearch is good option.
@ShubhamPrasad-d3s Жыл бұрын
Hi, Customer entity needs to be created in same application of its like a different service? If it is a different service then how elastic search is fetching it with Products? Is it because elastic search is common for both service?
@enggadda Жыл бұрын
let me tell you this scenario might be confusing for you and other i agree on this, what is happening here is , i am implementing the match all query at the elasticsearch level , which is covering all the indices in it and there comes the customer details in it which was implemented earlier by me as some demo things , so that is why its coming under that but if you have only one index then that will give you correct result , and is there is the case of multiple index then you can pass the index on which you want to apply the query , i have discussed that in other videos
@sreelathamahendrakar63597 ай бұрын
Very well explained, Thanks... i followed this andi have query on how to find details for spring.data.elasticsearch.cluster-name.., basically how to fill these values... It will be great help if you can reply Because am always getting connection refused exception
@Monish-sn8kv5 ай бұрын
Yes, Even i am facing the same error. Please let me know if you have any solution
@Sandeep-in3kd11 ай бұрын
I am getting error that bean of type ElasticsearchClient not found
@enggadda11 ай бұрын
Please check if you have autowired the elasticseach client or not
@soyyo-p6x2 күн бұрын
I am getting error 401 Unauthorized help me
@enggadda2 күн бұрын
Can you please send me screenshot, where exactly you are getting it , it's been long days since this published need to check