Ask Your Question
0

Can the score in MongoDB full text search be manipulated by the percentage of text that matches?

asked 2023-03-19 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-10-07 05:00:00 +0000

bukephalos gravatar image

Yes, the score in MongoDB full text search can be manipulated by the percentage of text that matches. MongoDB uses a weighted score based on the frequency and relevance of the keywords. The more matching keywords and the closer they are to each other, the higher the score. However, it is also possible to use a custom scoring function that takes into account other factors, such as the percentage of text that matches or the importance of certain fields.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-03-19 11:00:00 +0000

Seen: 9 times

Last updated: Oct 07 '22