Package org.apache.lucene.sandbox.search
Class CombinedFieldQuery.Builder
java.lang.Object
org.apache.lucene.sandbox.search.CombinedFieldQuery.Builder
- Enclosing class:
- CombinedFieldQuery
A builder for
CombinedFieldQuery
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a field to this builder.Adds a field to this builder.Adds a term to this builder.build()
Builds theCombinedFieldQuery
.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addField
Adds a field to this builder.- Parameters:
field
- The field name.
-
addField
Adds a field to this builder.- Parameters:
field
- The field name.weight
- The weight associated to this field.
-
addTerm
Adds a term to this builder. -
build
Builds theCombinedFieldQuery
.
-