Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to pass elastic_username and elastic_password to elastic.client.php Bagisto?

    Knowledge Base
    2
    2
    739
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kamdjou last edited by Kamdjou

      @devansh-webkul
      Please I am see from this link https://devdocs.bagisto.com/1.x/advanced/indexing-products-to-elasticsearch.html#setting-up-environment that I can setup Elasticsearch for Bagisto.
      But, I am facing the security issue. My elasticsearch engine need authentication to connect.
      Please how do I passed the elastic_username and elastic_password in the elastic.client.php file?

      Also, I want to know if this will be automatically make the search bar autocomplete (real-time as you are typing).

      I really need this feature.

      Many thanks in advance

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Did you try this,
        https://github.com/elastic/elasticsearch-php/blob/6b45b961fa6c08f25e037c34b36160171e4aaa7b/docs/configuration.asciidoc#extended-host-configuration

        1 Reply Last reply Reply Quote 0
        • First post
          Last post