EasyEngine / feature-requests

A repo to track all feature requests on EasyEngine project using issue tracker.
5 stars 2 forks source link

Advanced Search Engine (ElasticSearch) #20

Open xkidro opened 9 years ago

xkidro commented 9 years ago

It would be really nice if EE would include a better search engine for wordpress I was thinking of http://lucene.apache.org/solr/ with https://wordpress.org/plugins/wpsolr-search-engine/

But there are also others like http://sphinxsearch.com/ with https://wordpress.org/plugins/wordpress-sphinx-plugin/

espellcaste commented 9 years ago

+1

technozest commented 6 years ago

+1

rahul286 commented 6 years ago

Update: We will be adding support for ElasticSeach as that is what we use quite often.

michacassola commented 5 years ago

For a wordpress site one container should be enough I guess?

Do we need one container per site or can one container be used for several sites? If we need several containers we need to map them to different ports.

Compose file example: (https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html)

version: '2.2'
services:
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0
    container_name: elasticsearch-$sitename
    environment:
      - cluster.name=docker-cluster-$sitename
      - bootstrap.memory_lock=true
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    volumes:
      - esdata1:/usr/share/elasticsearch/$sitename/data
    ports:
      - 9200:9200

volumes:
  esdata1:
    driver: local
vincentkoc commented 5 years ago

I never knew you could spin up a small elastic search engine to use with Wordpress.... Damn that would be super useful. You would have to see performance, can you easily scale up and down elastic like in a cluster configuration?

michacassola commented 5 years ago

From what I've read here it should not be a problem to make the cluster larger if later required. https://thoughts.t37.net/designing-the-perfect-elasticsearch-cluster-the-almost-definitive-guide-e614eabc1a87

You could start out with a small VPS to host your wordpress site and when it really grows you scale vertically (bigger and better VPS) and if that hits the limit you can still put the Database on one server the Webserver and PHP and such on another and Elasticsearch on the third.

I just wished there was a free faceted/filtered widget for elasticsearch. So that you could sort your woocommerce products for example really fast and by selecting different categories/taxonomies/tags/whatever. Elasticpress gives you some functionality but what I described is missing last I checked.