????q.op=OR????
On 2014??06??06?? 20:48, ?????? wrote:
hi,
I have two docs,
a) "aa bb cc" and,
b) "aa cc bb".
The query is "aa bb". What I expected is the doc a comes first with a higher
score than doc b because the term distance in query and that in doc a are more similar.
After google for a while I get it down with the span query q: "aa bb"~10. However, when I
change my query into "aa bb dd"~10, the span query return nothing
hits becuase dd can not be found in any doc. So what's a solution to this
problem?
Thanks.