Questions tagged [elastisch]

A minimalistic Clojure client for ElasticSearch

Elastisch is an idiomatic Clojure client for ElasticSearch, a modern, scalable, powerful full text search server.

It is simple and easy to use, has good baseline performance and strives to support every ElasticSearch feature. Elastisch is minimalistic: it mimics ElasticSearch operations in its API but does not add any abstractions or ODM-like layers beyond that.

5 questions
2
votes
1 answer

How to maintain two connections to different ElasticSearch hosts using Elastisch?

I’m using Elastisch, and the rest/connect function return an endpoint, but I can’t see how to reuse this endpoint when calling other functions. I need to transfer some documents from one index to another on different hosts, using a scroll on the…
bfontaine
  • 18,169
  • 13
  • 73
  • 107
1
vote
0 answers

Why would AWS suddenly stop accepting my writes (puts) to ElasticSearch?

We need to denormalize 2 million records from our MySQL database to ElasticSearch. Our devops guy setup ElasticSearch on AWS. I wrote a Clojure app that grabbed the data out of MySQL, aggregated it into the format we wanted, and then did a put to…
LRK9
  • 321
  • 2
  • 4
  • 15
0
votes
2 answers

How do you connect to multiple ElasticSearch hosts using Elastisch?

Currently I connect to a ElasticSearch cluster as follows: (esr/connect "localhost:9200") But I am concerned about availability so plan to run an ElasticSearch cluster. How do I modify my Elastisch code to connect to a cluster (so that if a node…
bm1729
  • 2,315
  • 3
  • 21
  • 30
0
votes
1 answer

"nth not supported on this type" exception setting up Elastisch connection

I'm trying to work through the [Elastisch tutorial] to create some test data in an ElasticSearch instance running on a VM. I am running this code: (ns content-rendering.core (:require [clojurewerkz.elastisch.native :as esr] …
Chris Mc
  • 25
  • 3
0
votes
1 answer

Clojure elastic search API Elastisch not returning results or documents

I am trying out clojure elastic search API Elastisch. I was following the demo code given in the documentation I am getting document/index created output for the following code (defn demo-search-connect [] (esr/connect! "http://127.0.0.1:9200") …
Devasia Joseph
  • 388
  • 4
  • 14