public class CloudSearch.Query
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
CloudSearch.Query.Search |
class |
CloudSearch.Query.Sources
The "sources" collection of methods.
|
class |
CloudSearch.Query.Suggest |
Constructor and Description |
---|
Query() |
Modifier and Type | Method and Description |
---|---|
CloudSearch.Query.Search |
search(SearchRequest content)
The Cloud Search Query API provides the search method, which returns the most relevant results
from a user query.
|
CloudSearch.Query.Sources |
sources()
An accessor for creating requests from the Sources collection.
|
CloudSearch.Query.Suggest |
suggest(SuggestRequest content)
Provides suggestions for autocompleting the query.
|
public CloudSearch.Query.Search search(SearchRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the SearchRequest
java.io.IOException
public CloudSearch.Query.Suggest suggest(SuggestRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the SuggestRequest
java.io.IOException
public CloudSearch.Query.Sources sources()
The typical use is:
CloudSearch cloudsearch = new CloudSearch(...);
CloudSearch.Sources.List request = cloudsearch.sources().list(parameters ...)