Use elasticsearch to get items that have minimum missed elements.
Budget: $30 – $250 USD
We'd like to figure out the way to write the right query to get the item list with the right score.
For example, we have 3 items with tags as follow:
Item A: tags["tagA", "tagB", "tagC"]
Item B: tags["tagA", "tagB", "tagC", "tagD", "tagE"]
Item C: tags["tagA", "tagB", "tagC", "tagF", "tagG"]
We'd like to use ["tagA", "tagB", "tagC", "tagD"] as the search terms.
Although, itemB has 4 matched tags terms(with one missing tags), since itemA's tags have been all matched. We'd like to let itemA's score higher than itemB's.
Not sure if it is achievable.
If you have firebase experience, it will be a plus. Later we need some help to connect firebase and elasticsearch. Although it's not needed in this project.
For example, we have 3 items with tags as follow:
Item A: tags["tagA", "tagB", "tagC"]
Item B: tags["tagA", "tagB", "tagC", "tagD", "tagE"]
Item C: tags["tagA", "tagB", "tagC", "tagF", "tagG"]
We'd like to use ["tagA", "tagB", "tagC", "tagD"] as the search terms.
Although, itemB has 4 matched tags terms(with one missing tags), since itemA's tags have been all matched. We'd like to let itemA's score higher than itemB's.
Not sure if it is achievable.
If you have firebase experience, it will be a plus. Later we need some help to connect firebase and elasticsearch. Although it's not needed in this project.