HI David..
Hi David..
i have tried to install Elasticsearch version 0.20.3.. earlier i am having version 19.8
now i am not able to create indexes.. i getting exception..
java.io.StreamCorruptedException: invalid internal transport message format
is there any thing missing.?
On Wednesday, March 20, 2013 4:31:16 PM UTC+5:30, David Pilato wrote:
YES!
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 20 mars 2013 à 11:59, srikanth gone srika...@gmail.com a écrit :
in my remote server.. elasticserver version 0.20.3
in my local machine. elastic server version is 0.19.8
is there any compatible problem with this..
On Wednesday, March 20, 2013 4:08:55 PM UTC+5:30, srikanth gone wrote:
hi Igor
actually i have removed that one..
http://10.0.0.12:9200/_cluster/health?pretty=true
{
"cluster_name" : "elasticsearch",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 96,
"active_shards" : 96,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 96
}
On Wednesday, March 20, 2013 4:02:09 PM UTC+5:30, Igor Motov wrote:
In your example the cluster name is "Data_Cluster" not "elasticsearch".
On Wednesday, March 20, 2013 6:26:12 AM UTC-4, srikanth gone wrote:
Hi Igor,
i have used cluster name as "elasticsearch".. and
Settings settings = ImmutableSettings.settingsBuilder()
// .put("cluster.name", "elasticsearch") // i am using default cluster.
.put("client.transport.sniff", false).build();
Client client = new TransportClient(settings)
// .addTransportAddress(new InetSocketTransportAddress("192.168.10.2", 9300))
.addTransportAddress(new InetSocketTransportAddress("10.0.0.12", 9300));
is there any chance to fetch data from server to in client machine..
On Wednesday, March 20, 2013 3:50:44 AM UTC+5:30, Igor Motov wrote:
You need to specify cluster name when you create transport client. See the second example in the Transport Client section on this page Elasticsearch Platform — Find real-time answers at scale | Elastic
On Tuesday, March 19, 2013 5:10:28 AM UTC-4, srikanth gone wrote:
Hi All,
i am getting no node found exception in my linux remote server
my xml
<elasticsearch:node id="esNode" />
<elasticsearch:client node="esNode" id="esClient" />
this is java code
Client client = new TransportClient()
.addTransportAddress(new InetSocketTransportAddress("localhost", 9300))
.addTransportAddress(new InetSocketTransportAddress("10.0.0.12", 9300));
SearchResponse response = null;
response = client.prepareSearch().setQuery(QueryBuilders.queryString(""+searchText+"").field("userName").field("firstName").field("displayName").field("lastName").field("email").field("phoneNumber").field("alternativeContact").field("office").field("practice").field("role").field("additionalFields").field("createdBy").field("modifiedBy")).setIndices("dc_user_idx")
.setTypes("DC_USER").execute().actionGet();
SearchHit results = response.getHits().getHits();
if(results.length != 0){
result = new HashMap<String, Object>();
list = new ArrayList();
}
int count = 0;
for (SearchHit hit : results) {
result.put(""+count, hit.getSource()); // the retrieved document
list.add(hit.getSource());
count++;
}
http://10.0.0.12:9200/_cluster/health?pretty=true
{
"cluster_name" : "Data_Cluster",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 87,
"active_shards" : 87,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 86
}
it is getting exception in linux macine.. index not found exception
status of index is success
http://10.0.0.12:9200/dc_user_idx/_status?pretty
{
"ok" : true,
"_shards" : {
"total" : 10,
"successful" : 5,
"failed" : 0
},
"indices" : {
"dc_user_idx" : {
"index" : {
"primary_size" : "306kb",
"primary_size_in_bytes" : 313373,
"size" : "306kb",
"size_in_bytes" : 313373
},
.....
i have not configured any manual settings
please help me.. is there any thing missing..
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.