Algolia’s AI search suite has unique strengths
AI search made simple. Index your content with our API clients or partner integrations, fine-tune your rankings and launch with our UI components. All in minutes.
<div id="searchbox"></div>
<div id="refinement"></div>
<div id="hits"></div>
<script>
const {
searchBox,
hits
} = instantsearch.widgets;
search.addWidgets([
searchBox({
container: "#searchbox"
}),
hits({
container: "#hits"
}),
refinementList({
container: "#refinement",
attribute: "company"
}),
]);
search.start();
</script>
my_index = client.init_index('contacts')
my_index.save_object({
firstname: "Jimmie",
lastname: "Barninger",
company: "California Paint"
})
Insights.register(
appId: "ALGOLIA_APP_ID",
apiKey: "ALGOLIA_API_KEY",
userToken: "user-123456"
)
Insights.shared?.clickedAfterSearch(
eventName: "Product Clicked",
indexName: "products",
objectIDs: ["9780545139700"],
positions: [7],
queryID: "cba8245617aeace44"
)