Hi everyone,
I have a java application in which ElasticSearchClient is used for establishing connection with Elasticsearch server. The application uses BulkRequest for indexing documents.
Following code index the documents in bulk.
BulkResponse bulkResponse = ElasticSearchConfiguration.elasticsearchClient
.bulk(r -> r.index(index).operations(bulkOperations));
I want to use custom analyzer which uses ngram tokenizer while indexing.
Can anyone guide me on how to achieve this in java?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.