I currently use prepareIndex to index a document like this:
idxResponse = client.prepareIndex(indexName, indexType, id) .setSource(json) .execute() .actionGet(); I am trying to use setSource(json) with prepareUpdate but that doesn't seem to work. Is there some other alternative that I can use? -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOT3TWpZbF2jQwfKZmb5_BN%2BvFSd7c0aRhzEPSDQPH80E_iK9Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
