I search through your content to help you find answers to your questions, fast.
Algolia Assist can make mistakes. Verify responses.
Gives API access to all Algolia functionality, settings, advanced features, and ML/AI products
Maven, snapshots, sonatype, sbt
Domain Specific Locator (DSL)
Future, JSON as a Case Class
Background retry strategy to ensure uptime
Batching via iterators to optimize number of network calls
Zero downtime reindexing feature
Asynchronous methods to target Algolia's API
INSTALL
<dependency>
<groupId>com.algolia</groupId>
<artifactId>algoliasearch-scala_2.11</artifactId>
<version>[1,)</version>
</dependency>
// supports snapshots, sonotype, sbt
INDEX
client.execute {
index into "index1" objects Seq(
Contact("myID1", "Jimmie", "Barninger"),
Contact("myID2", "Warren", "Speach")
)
}
SEARCH
client.execute {
search into "myIndex" query Query(
query = Some("query string"),
attributesToRetrieve = Some(Seq("firstname", "lastname")),
hitsPerPage = Some(50)
)
}