Skip to main content

Questions tagged [algolia]

For programming-related questions about Algolia, the hosted search API. For non-programming related questions or general discussion, please post your question on discourse.algolia.com instead. You can expect a prompt, friendly reply from our team or community.

algolia
Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

i am using vue-instantsearch with vue2,the ais-Hits widget work fine,but the ais-SearchBox can not render the form css

this is my code <template> <div id="app-search"> <ais-instant-search :search-client="searchClient" index-name="demo_ecommerce"> <ais-...
poorops's user avatar
0 votes
0 answers
21 views

Issue in search with join in typesense

I want to search with the tag name and dish name. I tried this but it did not work const data = await typesenseClient.collections("dishes_view").documents().search({ 'q': 'tag1', '...
Nisarg's user avatar
  • 1
0 votes
1 answer
16 views

Set input value as selected item with Algolia Autocomplete

I'm using Algolia Autocomplete with a custom JSON source. It works fine except I can't see how to update the value of the input to the value of the selected autocomplete dropdown when a user picks one ...
Dan's user avatar
  • 5,914
1 vote
0 answers
25 views

How to Create a Separate Algolia Index for JSON Attributes in Laravel Model

I have a Laravel model called Car, with a JSON attribute named arabic_data. This attribute stores the same car model but with values in Arabic. Here's an example of how I create and populate the model:...
Ali Ibrahim's user avatar
1 vote
1 answer
37 views

Issue with Algolia Vue InstantSearch: Error with 'searchParameters' option

I'm encountering an issue with configuring Algolia using Vue InstantSearch. Specifically, I'm trying to use the widget to set search parameters, but I keep receiving the following error: Error: The '...
dietervanhove's user avatar
0 votes
1 answer
25 views

Algolia - Symfony 7 bundle installation problem

I can not get the Symfony / Algolia bundle to install with Symfony 7, php 8.2 and MAMP Pro on mac. I have all the dependencies they require (Symfony > 3.4 and php > 7.2). Running (right from ...
iModi's user avatar
  • 113
0 votes
0 answers
22 views

Algolia searches for unavailable products in my country

I wonder if there is any way or method for not showing the products that I have in my Shopify store which i have set the market for some countries and it should not show the product to users from ...
Anlel Napleon's user avatar
0 votes
1 answer
23 views

Algolia search just hangs when ran the 2nd time?

... @override Future<List<String>> searchPosts({ required String author, required String title, required String content, }) async { _postsSearcher.applyState( ...
H S park's user avatar
0 votes
0 answers
28 views

Remove Namespace Prefix From ObjectID In Laravel Scout

I've got a Laravel scout project with Algolia. On my index, my record's objectId is being prefixed by the namespace. Here's an example "objectID": "App\\Models\\Path::6bc4105c-8eb2-4eda-...
L. Fox's user avatar
  • 354
0 votes
0 answers
22 views

Nuxt 3 data gets lost when switching pages

I have a Nuxt 3 application with two pages: Index / Catalog /catalog Catalog uses vue-instantsearch from Algolia in order to run a product catalog. Because I need to restrict the results to a ...
Brotzka's user avatar
  • 2,737
2 votes
1 answer
29 views

Search special character in words like é in Algolia Search

Working on a task where I need to search on Algolia Search This was working fine for all alphabet text but gave an error for special characters like é const index = client.initIndex(indexName); ...
JPais's user avatar
  • 135
0 votes
1 answer
39 views

Algolia issue with React Native

My InstantSearch is working fine and my data is getting index from Firebase to Algolia by Cloud Function! I can see the changes in the Algolia dashboard immediately! But when I add, update delete a ...
Webie's user avatar
  • 23
0 votes
0 answers
26 views

Trouble Implementing Algolia Search in Docusaurus v2: Incomplete HTML Crawling and Limited Content Retrieval

I'm integrating Algolia search into a Docusaurus v2 project and encountering issues with the indexing process. The crawler seems to run successfully, but it fails to index the site properly. Issues ...
Hibiki Hosoi's user avatar
0 votes
0 answers
22 views

Algolia on Class Component React Native?

I am adding Algolia to an old app using class component react-native v0.72.10, React v18.2. Every single tutorial uses hooks. How would I change my code to work with v0.72.10 react-native? Ideally I ...
Josh Antoniuk's user avatar
1 vote
0 answers
38 views

Algolia search function returns only first 20 results

I have this Python function to return all verified venues using algolia def get_all_venues(): try: page = 0 hits_per_page = 1000 # Increase this value while True: ...
Tendekai Muchenje's user avatar
1 vote
1 answer
45 views

Implementing Algolia search queries for product search by brand, name, variant, rating, price, stock, and discounts?

I'm using Algolia to create a product search feature on my ecommerce website. I have product data in JSON array format as shown below: [{ "id": 1688, "product_detail_id": 2420, ...
DenyCode's user avatar
0 votes
0 answers
21 views

how to integrate InstantSearch from Algolia in react Native App

I am trying to integrate InstantSearch from Algolia in a React Native App The issue i am facing is that InstantSearch Provider from Algolia needs to wrap the root component App.js. Whereas App.js is ...
blueflyer's user avatar
0 votes
0 answers
108 views

useInfiniteHits react-instantsearch-core how to simply resetpage?

i'm using InstantSearch Configure and useInfiniteHits to fetch data from algolia my data in algolia hits are like this { 'name': 'adidas', 'univers':'sport' }, { 'name': 'kfc', 'univers':'food' }, { '...
AlainIb's user avatar
  • 4,598
2 votes
0 answers
146 views

React InstantSearchNext, Next.js App Router

I've been following how to configure instantsearch React with Next.js App Router here: https://www.algolia.com/doc/guides/building-search-ui/going-further/server-side-rendering/react/#app-router-...
PussInBoots's user avatar
  • 11.8k
0 votes
0 answers
12 views

Secured API Key not extending filter of it's parent API Key for User-restricted access

My algolia index creatorUid which either has the PRESET_EXPORTER. Everybody should be allowed to read the PRESET_EXPORTER documents. Additionally users should only be allowed to read their own ...
Jonas's user avatar
  • 7,574
0 votes
1 answer
96 views

How to build a full text semantic search engine using firestore in flutter [closed]

Does someone have any recommendations for building a semantic search full-text engine for Flutter whilst storing the documents in Firestore, i have heard about Typesense and Elastic Search. I just ...
Tomas Hirschberg's user avatar
0 votes
0 answers
108 views

Applying Multiple Refinements with One Button Click

I am using React InstantSearch and in my application I currently have multiple refinement facets (a <SearchBox/> with custom submitIconComponent and styles, a few components that use the ...
AbedDoesCode's user avatar
0 votes
3 answers
168 views

installing algolia plugin in medusajs backend store, gives an error

i am trying to install algolia search in medusajs by using the documentation on this link https://docs.medusajs.com/plugins/search/algolia i installed the plugin by the follwoing command npm install ...
blueflyer's user avatar
1 vote
2 answers
129 views

Algolia InstantSearch Swift Package Manager throws Compile error

I am trying to integrate InstantSearch Library via Swift Package Manager. However, I get this error while compiling: error: The package product ‘AlgoliaSearchClient’ requires minimum platform version ...
Neeraj Raghavendra's user avatar
0 votes
0 answers
12 views

Couldn't get all the text for System-Wide search functionality using algolia-search-plugin with gatsby

I aim to integrate a system-wide search feature into my project, utilizing Gatsby alongside Strapi. While experimenting with the Algolia search plugin, I encountered a limitation—it only retrieves ...
Abhishek Negi's user avatar
1 vote
0 answers
34 views

How to do multiple search in react instanst search library?

I want to do multiple search using react instant search library at the same time. For example suppose if i want to search in search bar for mobile category like Samsung and apple in one search some ...
Lalit deore's user avatar
0 votes
0 answers
37 views

Getting `ReferenceError: body is not defined` even though I can see the body in console log

This is a sanity webhook import { revalidateTag } from "next/cache"; import { NextResponse } from "next/server"; import indexer from "sanity-algolia"; import { ...
Wasim Raja's user avatar
0 votes
0 answers
43 views

Embed TypeScript project into JS one

I have a laravel web site, which use Algolia InstantSerach.js for providing search functionality. Now I want to implement Autocomplete along with it. In short: How can I translate this TypeScript ...
aboriG5621's user avatar
0 votes
0 answers
17 views

Making a nested Firestore collection full-text-searchable with Algolia [duplicate]

I have a "users" collection, each user has a sub-collection "entries". This sub-collection needs to be full-text-searchable, filterable and searchable. That should be completely ...
Jonas's user avatar
  • 7,574
0 votes
0 answers
36 views

How to stop AlgoliaSearchHelper .search() from revoking my numericRefinements

I'd really appreicate any input on how to fix the issue presented below! I already found the cause of the issue but I am not too sure how to fix it. Use Case I created my own custom range connector ...
AbedDoesCode's user avatar
0 votes
0 answers
40 views

Algolia Highlight function for search results doesn't work

I have simple test aplication in pure html and javascript with CDN. My test code just copied from source example on angolia site. It looks like this: autocomplete({ container: `#autocomplete`, ...
Nastro's user avatar
  • 1,759
1 vote
0 answers
179 views

Syncing URL with instantsearch using next.js adding one unnecessary re-route

I am using next.js and currently I have an input on my homepage that allows a user to enter a search. I made it so that when a user submits their search on the homepage, it takes me to the /search ...
AbedDoesCode's user avatar
0 votes
0 answers
103 views

How using algolia/scout-extended make Faceting dynamic?

In Algolia docs https://www.algolia.com/ecommerce-merchandising-playbook/configuring-faceting/ I read Faceted search is a way of classifying records, allowing users to narrow down results. You can ...
Petro Gromovo's user avatar
0 votes
0 answers
26 views

Algolia Firebase Extension not calling the Transform Cloud Function

I want to remove the "reports" key and its value from the "view" object. I have create a Cloud Function for this. But Algolia not calling this function while indexing documents. {...
Aly's user avatar
  • 361
1 vote
0 answers
24 views

How can I use in customRanking of scout-extended enum field?

On laravel site with algolia/scout-extended I have next description in config file on customRanking: /* |-------------------------------------------------------------------------- | Custom Ranking |--...
Petro Gromovo's user avatar
1 vote
0 answers
25 views

make algolia query which finds a close enough name or a matching tag

const search =(nameInput, inputTags)=>{ index.search('', { filters: '' }).then(({ hits }) => { console.log(hits); }) } im trying to to create a query thats close to : (have a &...
LIOR AVIV's user avatar
0 votes
0 answers
59 views

How to filter search results by path using Algolia?

I have a website built with Gatsby, published with Netlify, that uses Algolia crawler and InstantSearch to help users find help articles more easily. How can I limit the results so it only shows pages ...
Cécile Lebleu's user avatar
-1 votes
1 answer
53 views

How can I stop Algolia from deleting all records when reimporting them using Laravel Scout?

I'm experiencing an issue with Laravel Scout and Algolia: executing php artisan scout:import "App\Models\Product" results in the Algolia index first being cleared of all products before ...
Caio Accioly's user avatar
0 votes
0 answers
157 views

Getting started with Algolia Autocomplete in React (latest) - search field not rendering, how to debug?

Followed the instructions from Algolia on implementing AutocompleteJS with React - looks really straight-forward, but i don't know how to debug it. The React component mounts in the DOM, but there's ...
Luyen Dao's user avatar
0 votes
1 answer
80 views

is it possible to make an search using algolia without using its ui?

I want to do an algolia search using react instant search or instantsearch.js and want to store the result in an array instead of showing it using the ui , how can i do this ? I tried looking for the ...
Task's user avatar
  • 45
1 vote
0 answers
74 views

How to implememnt multi-index search in Algolia - React

I want to know if there's a way to implement multi index search using React InstantSearch of Algolia , such that it acts as a single query and i get the result in a single hit I read the Docs and ...
Task's user avatar
  • 45
2 votes
0 answers
42 views

How can I get the maximum and minimum value of a record in Algolia?

I am using the algolia api to do a product search, where $value is what the customer searches for. $results = $index->search($value); In the product registry, for example, I have the fields: name, ...
carlospozo's user avatar
1 vote
1 answer
54 views

Algolia SearchBox can't set its value from Hits or customize value

I'm using react-instantsearch with SearchBox to performance search tasks, when type some letters in SearchBox there will show the results by Hits component. The problem is I can't add value attribute ...
Lotto In's user avatar
0 votes
1 answer
83 views

Algolia Hit Component is not working with grid

Im converting my next api to a algolia search, and hit component is a single component that renders foreach record, but i am unable to use grid, i will show how i was doing (it was working): { {...
Pedro Souza's user avatar
1 vote
0 answers
22 views

Why algolia search of phrase in laravel app found all words of the phrase?

Working with algolia in Laravel 10 app and using algolia/algoliasearch-client-php 3.4 and algolia/scout-extended 3.0 packages I found that search method works different I expected when I enter several ...
mstdmstd's user avatar
  • 2,897
1 vote
1 answer
94 views

Algolia searchbox - QueryHook prop is not working

I have a website build with React that uses Algolia to index images that users can search through. I want to create suggestions under the search bar much like the image below: so that a user can ...
Coolkid's user avatar
  • 505
0 votes
1 answer
101 views

Algolia docSearch

I need to implement Algolia DocSearch into my docusaurus project. I have got the api key and api id from the algolia. But facing challenges on what to do next. Please guide me the steps that I should ...
Akash Gupta's user avatar
0 votes
1 answer
59 views

How in scout with Algolia make count methods?

Reading how works search method of scout with Algolia driver at https://laravel.com/docs/10.x/scout#searching I wonder can I to implement count and paginate methods In code like : if(empty($page)) { ...
Petro Gromovo's user avatar
0 votes
0 answers
57 views

Algolia sorting with dynamic filter

I have objects in Algolia with properties “score” (integer), “productId” (integer), and “name” (string). For example, I have two objects. First : { "name": "A", "...
Silenus's user avatar
  • 837
0 votes
0 answers
75 views

Can I set Searchable attributes and Ranking and sorting with laravel/scout programmatically?

At https://laravel.com/docs/10.x/scout#configuring-searchable-data plugin laravel/scout used to add algolia support and reading some manuals I found that I need to set Searchable attributes and ...
Petro Gromovo's user avatar

1
2 3 4 5
33