Trying to obtain indexes in the backend constructor results in infinite recursion loop

Created on 7 November 2023, over 1 year ago
Updated 10 April 2024, about 1 year ago

Problem/Motivation

After adding an index, this call results in an infinite loop:

$this->indexes = $this->server->getIndexes();

Steps to reproduce

Create a TS server, then add an index.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇸United States kevinquillen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @kevinquillen
  • 🇫🇷France bedlam Lyon

    Thanks for this.

    Possibly this is a silly question, but I haven't worked with this module for a while (and never seen crashes or resource-usage spikes when adding an index). What are the symptoms when this occurs?

  • Status changed to Fixed about 1 year ago
  • 🇮🇹Italy lussoluca Italy

    SearchAPITypesenseBackend class has been heavily rewritten; this error no longer occurs in my tests.

    Feel free to reopen the issue if you still have problems.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024