search - Can I combine a constantsearchquery with a phrase query into a booleanquery in lucene? -


can have booleanquery has 2 other queries, 1 should , 1 must? want should query of type constantscorequery , other of type phrasequery.

i know phrasequery contributes overall score constantscorequery won't contribute. true?

how results arranged if constantscorequery along other types of queries in booleanquery?

similar other question, constantscorequery contributes constant overall score. matches constant boost it, non-matches no boost it.

if constantscorequery required search term, doesn't contribute meaningfully score (all documents returned overall search have same score boost it), still contribute scoring.

as far how results arranged "along other types of queries", that's vague meaningfully answered. perhaps benefit lucene documentation on scoring.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -