A.What will be the mapping and DSL query structure example for creating a organisation employee profile user
with maximum upload of n photo limit with
image size nMb and
x height , y width
for storing and searching his photos please of image with timestamp please.
B. is it good fast perfomance and easier to store profile image
1.Directly in ES for search or
2. store in say other Aws S3 and access meta data image catalogue in ES for search ..
.which option is best pls. ?
Thanks for taking time and answering the question , really helpful.
I have below futher questions on your comment.
As per below discussion ,it was said that images can be stored in binary image type in below 2 links in AWS elasticsearch uses AWS EBS storage . please suggest
Thanks Dadoonet , currently the File size limit for user profile photos is : 400 kb. we planned to use AWS elasticsearch with default EBS storage as one of option . yes elasticsearch image index and another elasticsearch metadata index is wonderful idea .thanks again .
Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL, Canvas, Maps UI, Alerting and built-in solutions named Observability, Security, Enterprise Search and what is coming next ...
Hi Dadoonet,
With respect to having 2 indexes do you prefer parent-child or nested objects type please ?
for performance and below requirements
of adding say 3 images to a customer profile ..
eg., Data struture is
cutomer details (index 1)
->
image details (index2 )
(customer can add 3 profile images) with timestamp ,latest display as main image and search photo functionality ..
I'd just put the id of the images or the url in the main index. And I'd "do the join" on the client side. Which means multiple calls if you want to display the results.
I have a query on the same as we use stream technology of current data like customer in one db and stream to ES .
so will it be the "join" in mongo/dynamodb stream alone or both ES and mangodb/dynamodb . as we use stream of dynamodb to ES of customer details .
ie., we store the customer details in seperate db like mongodb /dynamodb and stream details to elasticsearch ,ES is used for search faster query .
in this case, can we still keep customer details in mongo/dynamo and add their photo details alone directly in elastic search by updating the mapping/index in elastic search directly ( directly means without stream of photo details) so do the join of customer table stream in mango /dynamodb and the customer id and images details directly in ES ?
storing binaary images base64 in dynamo or mango ie., having joins in mangodb/dynamo with images and then streaming in ES may be bad idea as the images size is large and has constrain in dynamodb like 400kb per item
Thanks Again. The binary images are never implemented in dynamodb as this adding photos to customer profile is new requirement. so will it be ok to directlyadd images in ES while the customer data is still in dynamo and also streamed into ES
so the ES will have part of customer data streamed from dynamo and other join part is images directly (not streamed from dynamo) added into ES are associated to customer data streamed from dynamo .
so before adding new photos we need to get customer id created by streaming from dynamo in ES and then add customer images to it for searching in dynamo latter.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.