Giter VIP home page Giter VIP logo

Comments (4)

markstory avatar markstory commented on May 25, 2024

Sounds like you're missing a Products index. FormHelper is trying to collect the mapping information for that index in order to build inputs using the correct types. You'll need to define the index and mapping for that to work.

from elastic-search.

ishan-biztech avatar ishan-biztech commented on May 25, 2024

Hey @markstory, thanks for the reply.

Yes, I understand that. But I do not want to map the products index since there is no Products index exists in elasticsearch, that's why I want to create a new index into the elasticsearch, as I've mentioned the url is http://myapp.test/products/add. This check is right if I am on edit page like http://myapp.test/products/edit/1, in this case only I want my inputs to map to the correct types.

What would you recommend should I do in this case?

from elastic-search.

markstory avatar markstory commented on May 25, 2024

Yes, I understand that. But I do not want to map the products index since there is no Products index exists in elasticsearch, that's why I want to create a new index into the elasticsearch

I think we're getting tripped up on terminology here. When I say there is no 'products index' I mean that your elastic search instance does not have an index and mapping type defined. I get that you want to 'index products' (store them in elasticsearch). But in order to do that you need to create an index and then create a mapping to define the schema for your products index.

from elastic-search.

github-actions avatar github-actions commented on May 25, 2024

This issue is stale because it has been open for 120 days with no activity. Remove the stale label or comment or this will be closed in 15 days

from elastic-search.

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.