Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
98 views
in Technique[技术] by (71.8m points)

Elasticsearch Percolator: Best Practice for Boost/Customizing Relevance Scoring

Per Elasticsearch documentation, index-time boosting was replaced with query-time boosting. This makes sense - here an explanation is given which explains that index time boost requires re-indexing, so it's better to simply do it at query time, which doesn't require re-indexing to change boost and/or scoring criteria.

I'm now using Percolator and want to boost one property match higher than the others. Based on "index time boosting" being bad (and agreeing with the reasoning), and that percolator queries themselves are indexed, is there any way to boost a property when querying the percolator field with a document that contains that property? Or does the boost need to be saved with the percolator query in this case?

Since the request to percolate only includes property names and their values, I'm not aware of a way to change boost or anything else that would impact relevance scoring without saving it with the query or on the index definition, the latter definitely being deprecated, and the former method seeming to have the same issue with it.

Thank you.

question from:https://stackoverflow.com/questions/65889873/elasticsearch-percolator-best-practice-for-boost-customizing-relevance-scoring

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...