Transport client did not indexed fields


(ian) #1

Settings s = ImmutableSettings.settingsBuilder()
.put("client.transport.sniff", true).build();

			  TransportClient client = new TransportClient(s);
			  client.addTransportAddress(new InetSocketTransportAddress(
		          "localhost",
		          9300)
		   );

 indexRreqBuild = client.prepareIndex(indexName, indexType).

a null pointer exception occured


(system) #2