Which is the best way to index the data from relational database table of One to many relationship

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Which is the best way to index the data from relational database table of One to many relationship



Can you please let me know which is the best way to index the records in elastic search for my scenario.



My Scenario is :



1) Need to index around 40 million records from oracle table which has entries having one to many relationship records. And the uniqueness of the records is based on the composite key with 4 columns



2) After indexing , Search should support "full text search" on all the fields



3) Filters and sorting on selected fields needs to be supported.



After going through the official documentation i found couple of options , but want to know which approach would be most useful among below



1) For each record in table create a entry in the elastic index



2) Create a nested json object based on the composite key and then add this elastic index



3)Parent child Relationship mechanism and application side joins are not suitable for my scenario



Thanks



Girish T S









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived