Tagged Questions
0
votes
0answers
13 views
ElasticSearch : applying an AND filter to an ORfilter and a string using Java API
I'm new to ES. I need to do the following and would highly appreciate if I get help about this :
I have a list of objects of type 1 and a String str, and the filtering should filter using this ...
1
vote
1answer
20 views
Accessing document string values in an ElasticSearch native script
I'm creating an ElasticSearch native script, and I'm struggling to get a List<String> value of some field in my doc.
Here is what I tried:
List<String> tmp = ((ScriptDocValues.Strings) ...
0
votes
1answer
25 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
35 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
33 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
47 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
41 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
122 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
454 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
53 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
136 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
124 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
47 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
457 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
304 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 ...