Tagged Questions
0
votes
1answer
20 views
Elasticsearch experiencing fatal errors and restarting on "Problematic frame: # J org.apache.lucene.index.SegmentTermEnum.next()Z
Elasticsearch has been failing quietly for some time now. Usually it just restarts but today it was unresponsive for an extended period of time. Eventually I learned that there were fatal error log ...
0
votes
1answer
19 views
elasticsearch not starting {0.90.0} : Startup Failed
I am not able to start elasticsearch. I tried
bin/elasticsearch
bin/elasticsearch -f
bin/elasticsearch -f ES_HEAP_SIZE=4g
but I keep getting the following message after a two-second pause...
...
3
votes
1answer
29 views
Fetch all documents if source contains the given search text in Elastic Search Server
I am new to Elastic Search. I mapped a field to 'string' in Elastic search index. I need to retrieve the documents if field value contains the given search text.
JSON1 : ...
4
votes
1answer
42 views
Elastic Search - get records by starting character of a field
I am using Elastic Search Server. I need to get records based on starting character of a field value in source JSON.
JSON:
Index JSON1 : "{\"id\":\"1\",\"message\":\"welcome to elastic search\"}"
...
0
votes
1answer
33 views
how indexes are stored in elasticsearch
I had certain question regarding elasticsearch but unable to find appropriate answer:
How indexes are stored in Elasticsearch. At which folder location they are stored.
Is it possible to store at ...
1
vote
2answers
107 views
ElasticSearch - Using FilterBuilders
I am new to ElasticSearch and Couchbase. I am building a sample Java application to learn more about ElasticSearch and Couchbase.
Reading the ElasticSearch Java API, Filters are better used in cases ...
3
votes
2answers
428 views
elasticsearch NodeBuilder vs TranportClient
Probably a very easy (and dumb) question to other elasticsearch devs, what's the difference between these two?
I'm connecting to a remote elasticsearch server from a Java webapp, so far I have been ...
0
votes
2answers
47 views
Elasticsearch Scan&scroll with JEST API
I am currently working with JEST:
https://github.com/searchbox-io/Jest
Is it possible to do scan&scroll with this API?
http://www.elasticsearch.org/guide/reference/api/search/search-type/
I am ...
0
votes
1answer
95 views
Why can't I connect to ElasticSearch through Java API?
I'm having trouble connecting to vanilla ElasticSearch cluster via the Java API.
To reproduce:
#start elasticsearch
elasticsearch -f
#checking in a new window
$ curl -XPUT ...
2
votes
2answers
101 views
Create index in Elastic Search by Java API
I used following code for creating index in Elastic Search,
Default JAVA API:
Settings settings = ImmutableSettings.settingsBuilder().put("cluster.name", ...
1
vote
2answers
43 views
Java file limit on OSX lower than in bash
I've increased the max files limit on my macbook pro so that Elasticsearch can work with more files, but it isn't working.
I run the command 'ulimit -a' and it says "open files" is 100,000. I can ...
2
votes
2answers
423 views
Failed to load xerial snappy-java when starting Elasticsearch
I am getting an exception when I start Elasticsearch.
java.lang.NoClassDefFoundError: org/xerial/snappy/Snappy
at ...
1
vote
1answer
250 views
ElasticSearch an edgeNGram for autocomplete\typeahead, is my search_analyzer being ignored
I've got three documents with a "userName" field:
'briandilley'
'briangumble'
'briangriffen'
when i search for 'brian' i get all three back as expected, but when i search for 'briandilley' i still ...
0
votes
1answer
184 views
GET HTTP request payload
I am designing an API and I wonder if it is fine to send a JSON payload on a GET request?
In this other question Payloads of HTTP Request Methods, we can find according to this link:
HEAD - No ...
0
votes
1answer
106 views
Elastic search - integrate with java web application
I am developing a java web application (ERP system). I have completed basic flows. Now as per my client requirement, we need to implement few search options. (i.e. Employees, Users, Invoices, ...