[Question] Query based on multiple criteria

Hi there,

I would like to query a collection based on two criteria:

  1. nearText (already existing)
  2. most recent (based on a decay factor)

I would like to have weighting scores for each so it becomes ((vector search * alphaA) + (recency * alphaB)) - is this possible to do? Do we have any function that enables most recent search as well as using both searches at the same time to get a final score for each object within the collection?


You could try this with moveTo (docs) where you provide the ID of the latest search in moveTo