N
N
N2022-04-19 18:35:19
NoSQL
N, 2022-04-19 18:35:19

Set the "weight" of fields in the selection, without creating a composite "full-text" index?

There is a test collection with the following fields:
- x ;
- y (array - one-dimensional string type).

Task:
Find records by OR condition between these fields, for example with the value "bar".
At the same time, sort the records so that the " x " field is more important if it contains this value, i.e. those entries were higher...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question