Class DslRequestBuilder
- java.lang.Object
-
- com.lucidworks.search.dsl.request.DslRequestBuilder
-
public class DslRequestBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DslRequestBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DslRequest
build()
static DslRequestBuilder
builder()
DslRequestBuilder
withContext(java.lang.String key, java.lang.Object value)
DslRequestBuilder
withContext(java.util.Map<java.lang.String,java.lang.Object> context)
FacetsBuilder.Nested<DslRequestBuilder>
withFacets()
DslRequestBuilder
withFacets(Facets facets)
DslRequestBuilder
withParam(java.lang.String key, java.lang.String value)
DslRequestBuilder
withParam(java.lang.String key, java.util.List<java.lang.String> value)
DslRequestBuilder
withParams(java.util.Map<java.lang.String,java.lang.Object> params)
QueryDefinitionBuilder.Nested<DslRequestBuilder>
withQueryDefinition()
DslRequestBuilder
withQueryDefinition(QueryDefinition queryDefinition)
ResultsBuilder.Nested<DslRequestBuilder>
withResults()
DslRequestBuilder
withResults(Results results)
-
-
-
Method Detail
-
builder
public static DslRequestBuilder builder()
-
withQueryDefinition
public DslRequestBuilder withQueryDefinition(QueryDefinition queryDefinition)
-
withQueryDefinition
public QueryDefinitionBuilder.Nested<DslRequestBuilder> withQueryDefinition()
-
withResults
public DslRequestBuilder withResults(Results results)
-
withResults
public ResultsBuilder.Nested<DslRequestBuilder> withResults()
-
withParams
public DslRequestBuilder withParams(java.util.Map<java.lang.String,java.lang.Object> params)
-
withParam
public DslRequestBuilder withParam(java.lang.String key, java.lang.String value)
-
withParam
public DslRequestBuilder withParam(java.lang.String key, java.util.List<java.lang.String> value)
-
withContext
public DslRequestBuilder withContext(java.util.Map<java.lang.String,java.lang.Object> context)
-
withContext
public DslRequestBuilder withContext(java.lang.String key, java.lang.Object value)
-
withFacets
public DslRequestBuilder withFacets(Facets facets)
-
withFacets
public FacetsBuilder.Nested<DslRequestBuilder> withFacets()
-
build
public DslRequest build()
-
-