com
.
outr
.
solr4s
.
admin
QueryRequest
Related Docs:
object QueryRequest
|
package admin
case class
QueryRequest
(
collection:
SolrCollection
,
query:
Query
=
MatchAllQuery
,
filters:
List
[
Query
] =
Nil
,
offset:
Int
=
0
,
limit:
Int
=
100
,
fields:
List
[
String
] =
List("*", "score")
,
defType:
Option
[
String
] =
None
,
sort:
List
[
Sort
] =
Nil
,
params:
Map
[
String
,
String
] =
Map.empty
,
facets:
Map
[
String
,
FacetQuery
] =
Map.empty
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
QueryRequest
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
QueryRequest
(
collection:
SolrCollection
,
query:
Query
=
MatchAllQuery
,
filters:
List
[
Query
] =
Nil
,
offset:
Int
=
0
,
limit:
Int
=
100
,
fields:
List
[
String
] =
List("*", "score")
,
defType:
Option
[
String
] =
None
,
sort:
List
[
Sort
] =
Nil
,
params:
Map
[
String
,
String
] =
Map.empty
,
facets:
Map
[
String
,
FacetQuery
] =
Map.empty
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
apply
(
query:
Query
)
:
QueryRequest
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
collection
:
SolrCollection
def
defType
(
defType:
String
)
:
QueryRequest
val
defType
:
Option
[
String
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
execute
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
QueryResponse
]
def
facet
(
name:
String
,
type:
Option
[
String
] =
None
,
alias:
Option
[
String
] =
None
)
:
QueryRequest
val
facets
:
Map
[
String
,
FacetQuery
]
def
fields
(
fields:
String
*
)
:
QueryRequest
val
fields
:
List
[
String
]
def
filter
(
filters:
Query
*
)
:
QueryRequest
val
filters
:
List
[
Query
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
limit
(
limit:
Int
)
:
QueryRequest
val
limit
:
Int
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
offset
(
offset:
Int
)
:
QueryRequest
val
offset
:
Int
def
params
(
params: (
String
,
String
)*
)
:
QueryRequest
val
params
:
Map
[
String
,
String
]
val
query
:
Query
def
sort
(
sort:
Sort
*
)
:
QueryRequest
val
sort
:
List
[
Sort
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toJSON
:
Json
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped