which ES index is used by the main search in Datah...
# random
p
which ES index is used by the main search in Datahub? or could someone help me find where that logic is located in the repo
datasetindex_v2 perhaps?
m
@early-lamp-41924 knows best 🙂
however for this thread to be appropriate in chatter, you need to replace index with
kibble
and search with
dog
😄
e
Hi. so all of search logic is located in the https://github.com/linkedin/datahub/tree/master/metadata-io/src/main/java/com/linkedin/metadata/search directory. The pointers above are for recommendations which powers recommendation modules shown on the home page as well as other pages.
Essentially, we have one index per entity type (so datasetindex_v2 is one of those indices for dataset entities)
so anything *index_v2 are indices used by our search system
hope that helps
p
thanks a ton both 🙏 so basically: a search is sent off, and queried against each index suffixed with
index_v2
these results are then merged and ranked according to: https://github.com/linkedin/datahub/blob/master/metadata-io/src/main/java/com/linkedin/metadata/search/ranker/SimpleRanker.java
is that right?