Skip to content

Algolia Search Results Being Unnecessarily Limited #1068

@michaelperna

Description

@michaelperna

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

I have had a thread going with one of the support agents and they asked me to come here.

Hypothesis:

The FF Algolia handler is not performing a accepting the full response from Algolia endpoint because I have 3 Algolia Searches on the same page.

Description:

I have two components that set app state variable. Those states are then used to build a search query for a specific set of documents with a reference or a set of strings. No matter how I configure it I am getting a hard limit of 20 results in FF despite the Algolia API response containing the correct number of records.

ttps://app.flutterflow.io/project/leks-play-u0kc22?tab=widgetTree&page=HomePage

Expected Behavior

I should be receiving thousands results with each search but am coming up on a hard limit of exactly 20, no matter how many are actually sent in the Algolia response.

Steps to Reproduce

  1. Create multiple Algolia searches that use state variable as queries
  2. View app in test mode
  3. Execute an algolia search
  4. Results are limited

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4kjPHl/YVgrs9D7aXTbcdWjiIsC0M2TL07ttYbZxUjIuPtBJh/Y+CkbRdpQsOkYGlhHFmLvH0JzPDMiN/TCPI7CySVY5xi/8xtFg3/RXq8R5i2BsyWXXYmOJtmJ3Kn36arqx5BAPRickI622C6Fe+sVgXZN5+/Zwh9f6PHaOI=

Context

I am trying to execute a complex query to return documents that are displayed as markers on a map. This is a critical app feature, the ability to filter the app's content in different ways. This worked fine prior to the June 20th release.

Visual documentation

image

Additional Info

No response

Environment

- FlutterFlow version: v3.1
- Platform: Web, iOS, and Android
- Browser name and version: OperaGX LVL4 (core: 99.0.4788.67)
- Operating system and version affected: macOS Ventura 13.3.1

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions