Giter Site home page Giter Site logo

craft-elasticsearch's People

Contributors

kringkaste avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

craft-elasticsearch's Issues

Zero results returned

Hi There,

We're getting zero results from, after examining it seems there is a problem with the search query that is generated by the Elements service.

"SearchTerm" is converted to "+SearchTerm" but that returns 0 results.
$params = [ 'index' => $indexes->getIndexName($site), 'body' => [ 'size' => 10000, 'query' => [ 'bool' => [ 'must' => [ 'query_string' => [ 'fields' => $fields, 'query' => implode(' ', $queryTokens), ], ], ], ], ], ];

However, "* +SearchTerm*" with a space in front returns results. In any case, its arguablly not needed to add the + operator, since the query is already nested within a "must" array key.

Feature request - Allow all settings to be controlled via environment variables

Hi, we recently started using your plugin and love how easy it is to set up a Craft CMS in combination with ElasticSearch/OpenSearch. However, we noticed that some of the settings are not configurable via environment variables. This leads to either being locked in to always use BasicAuth or always having to use AWS, since those values are stored in the project config and replicated on other environments.

This prevents us from using BasicAuth locally where we spin up an ElasticSearch container in Docker, and at the same time use AWS OpenSearch for our staging and production environments, since we can't choose which form of authentication we want on each environment. It would also be handy to be able to toggle transition mode on each environment instead of all environments at once. Are there any plans to open this up so we can have an individual configuation per environment?

I'm also down to start a PR with this functionality once I find a moment to work on it, but I'm worried it will take a while to be looked at judging by the inactivity on the existing PRs that are still open.

RFQ - Use bulk add for the CLI command ./craft elastic/elements/index

Hi There,

We've stared using your plugin, but we have roughly 150k articles it has to index. Because it creates one single job for each article, it takes a long time do the first indexation. Same goes if we want to change/optimize the index, it takes long.

Would it be possible to do the CLI command with batches, rather then the single jobs?

Actively maintained?

This Elasticsearch plugin looks like a great solution and from our tests it looks promising!

However I'm slightly worried about the development. I do see some great PR suggestions without follow up and an unreleased version with a great new feature (event) waiting for over a year.

@kringkaste are your plans to keep this plugin maintained? Thanks!

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.