full text search - Elasticsearch document modelling options -


i know best practices when designing data model indices in elasticsearch. have system in need pull data cloud storage systems(eg:dropbox),social media(eg:twitter),articles web etc.

the design issue facing each type of docs have different fields/mapping.

some of options i've explored.

  1. use different types under single index since having different doc structure(eg : elastic types facebook,twitter,drobpox,googledrive etc.).this tend add lot of types under index.

  2. use dynamic mapping index add fields whenever necessary. , use same mapping docs. in case,most of fields null.(eg: elastic document storage social media specific fields null).

  3. use different indices different data points. in case, there lots of indices.

i know of these options best in our use-case. consideration search , indexing performance , scalability. appreciated.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -