Code Monkey home page Code Monkey logo

Comments (7)

florentdestremau avatar florentdestremau commented on August 25, 2024

Also i get an error A slave index is already slave of another index whenever i try to reindex after pushing my configuration to algolia, it's pretty annoying, what did I do wrong ?

from search-bundle.

maxiloc avatar maxiloc commented on August 25, 2024

The second issue is probably related to the env, the same slave name is probably used for two envs. I am currently investigating the first one

from search-bundle.

maxiloc avatar maxiloc commented on August 25, 2024

So the issue is, there is no set settings done on the slaves, we can fix that pretty easily but that would mean loosing the ability to customize independently the master and the slave.
Let's keep this issue open, we will probably need to introduce a new annotation

In the meantime the easier way to handle that would be to do a small php script on the side that handle the setSettings

from search-bundle.

florentdestremau avatar florentdestremau commented on August 25, 2024

What I would expect maybe is being able to configure something like:

slaves = {
  attributesForFaceting = {"macroCategoryTitle", "timeStamp"},
  ranking = {"asc(timeStamp)", "typo","geo","words","filters","proximity","attribute","exact","custom"},
  customRanking = {"asc(finalPrice)"}
}

This way you keep the existing confurations options

from search-bundle.

maxiloc avatar maxiloc commented on August 25, 2024

yes it's a bit more tricky than this because you could have two slaves with two differents set of settings but yes that's the idea

from search-bundle.

jonasdk avatar jonasdk commented on August 25, 2024

@maxiloc What is the conclusion here? Is it something that would need to be changed by Algolia or is it implementation/usage of the indexes that creates this issue?
Can you point me to an example of solution of what you talks about

a small php script on the side that handle the setSettings

from search-bundle.

rayrutjes avatar rayrutjes commented on August 25, 2024

As @maxiloc explained this is tricky given the current design. We will make sure we allow this kind of use cases by better designing our different abstractions in V3. Labelling this issue to be sure we don't forget your use case. Please bear with us, and sorry about the delay.

from search-bundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.