Questions tagged [java-client]
134 questions
1
vote
0 answers
Can't transfer large files from android server to PC client
I have written a small client-server program, where server is running on an Android phone and client program is running on my PC. It works absolutely fine when I send small files from server to client (like small text files, doc files, etc). But…

Vinit Shandilya
- 1,643
- 5
- 24
- 44
1
vote
2 answers
Riak - MapReduce sorting over fields
How can I use the sorting functions over 'real' fields in the stored objects? How can I set the field on which I want to sort by?
It seems that the following refers to the key, in my case it's a UUID, and therefore useless to sort by:
…

o'mac
- 99
- 5
1
vote
1 answer
Riak search queries via the java client
I am trying to perform queries using the OR operator as following:
MapReduceResult result = riakClient.
mapReduce("some_bucket", "Name:c1 OR c2").
addMapPhase(new NamedJSFunction("Riak.mapValuesJson"), true).
…

o'mac
- 99
- 5
0
votes
1 answer
WCF Service Issues with Java Client
This is an interesting problem, and I will do my best to explain. If you have any questions, please ask.
I have written a WCF service that is suppose to communicate with a JAVA client. This service was created via contract first from a WSDL. Now,…

CalvinBlount
- 155
- 1
- 2
- 10
0
votes
1 answer
Java client in the screen
I need to know if a Java client is open with my java program that runs on the background. Java will not allow me to view other windows that are not running on the same virtual machine. I think that if I make a java program, that open the java client…

Juan
- 521
- 1
- 11
- 28
0
votes
1 answer
Parse_exception: collapse failed to parse field inner_hits
Using the javaclient doing inner_hits inside a collapse, I am getting this error:
Caused by: co.elastic.clients.elasticsearch._types.ElasticsearchException: [es/search] failed: [x_content_parse_exception] [1:500] [collapse] failed to parse field…

John B
- 32,493
- 6
- 77
- 98
0
votes
0 answers
How to connect Point in Time api with opensearch using Java client for performRequest()
I have to call Point in Time
like
//_search/point_in_time?keep_alive=1h&routing=&expand_wildcards=&preference=
using java client API of OpenSearch
I have tried to create the client using the java client API.
Though after that I want…

CodingPolygolots
- 1
- 2
0
votes
0 answers
Elasticsearch Java Client create query for field with list of values
String searchText = "TEST";
.query(q -> q.bool(b -> b .must(c-> c .match(t -> t .field("FIELD NAME").query(searchText) ))
I need to pass String Array to query. Whats the best way I can do it.

kavish peiris
- 43
- 5
0
votes
2 answers
appium java-client 8.x - getOrientation method was deprecated- how to check current orientation now?
Previously it was possible to check device orientation
driver.getOrientation()
In appium java-client 8.3 this method is no longer available. How to check current device orientation now?

Jake Green
- 53
- 1
- 7
0
votes
0 answers
Migration of hazelcast from 3.x.x to 5.x.x using javaclient cause problem because of absence of EntryBackupProcessor.java
what i can used instead of the EntryBackupProcessor.java
import java.io.Serializable;
import java.util.Map;
public interface EntryBackupProcessor extends Serializable {
void processBackup(Map.Entry entry);
}

Deepak_M
- 11
- 4
0
votes
1 answer
how to implement public AbstractEntryProcessor(boolean applyOnBackup){} in 5.x.x for the backup in Hazelcast
Help me in the following code and how to used the backup on the Hazelcast
migration of the hazelcast 3.x.x to 5.x.x
package com.hazelcast.map;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.HazelcastInstanceAware;
import…

Deepak_M
- 11
- 4
0
votes
0 answers
migration of Hazelcast from 3 series to 5 series issue in AbstractEntryProcessor while extending it
alternate of below code
import com.hazelcast.map.AbstractEntryProcessor;
public class extends AbstractEntryProcessor{
// body of the class
}
error --> Cannot resolve symbol 'AbstractEntryProcessor'
please don't give the link…

Deepak_M
- 11
- 4
0
votes
2 answers
upload file to dropbox by java
I am working on creating a simple desktop program in Java, and I want to upload files via this program to Dropbox, but the problem is that the access token has a short life (temporary), how can I make the access token have a long life, or if I can…

Mostafa Hajjat
- 21
- 1
- 6
0
votes
1 answer
Opensearch - get inner aggregations from aggregations using opensearch-java client
There is this opensearch query constructed using openserch-java
GET eventsearch/_search
{
"aggregations": {
"WEB": {
"aggregations": {
"eventDate": {
"date_histogram": {
"extended_bounds": {
…

Oana-Elena Danescu
- 91
- 1
- 8
0
votes
0 answers
How do i write csv file in loop
below is my java client query in which im trying write my data in csv file i'm stuck on for loop not able to understand what should i parse in for loop can
Below is my code
public class ElasticQ {
public static void main(String[] args) {
…

Rain
- 1