public static class BlendedTermQuery.DisjunctionMaxRewrite extends BlendedTermQuery.RewriteMethod
BlendedTermQuery.RewriteMethod that creates a DisjunctionMaxQuery out
of the sub queries. This BlendedTermQuery.RewriteMethod is useful when having a
good match on a single field is considered better than having average
matches on several fields.| Constructor and Description |
|---|
BlendedTermQuery.DisjunctionMaxRewrite(float tieBreakerMultiplier)
This
BlendedTermQuery.RewriteMethod will create DisjunctionMaxQuery
instances that have the provided tie breaker. |
public BlendedTermQuery.DisjunctionMaxRewrite(float tieBreakerMultiplier)
BlendedTermQuery.RewriteMethod will create DisjunctionMaxQuery
instances that have the provided tie breaker.DisjunctionMaxQuerypublic Query rewrite(Query[] subQueries)
BlendedTermQuery.RewriteMethodQuery object.rewrite in class BlendedTermQuery.RewriteMethodCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.