I have a list of "event" objects. Each event has its operation (delete, update, index, etc), its mapping type (document, folder, etc.), and the actual content to be indexed into Elasticsearch, if any. I don't know what any of these operations will be in advance. How can I use NEST to dynamically choose the bulk operation and mapping type for each of these events?
NEST: How can I do different operations and mapping types in one bulk request?
514 Views Asked by Kat Ben At
1
There are 1 best solutions below
Related Questions in ELASTICSEARCH
- Elasticsearch schema for multiple versions of the same text
- Elasticsearch nested filter query
- Elasticsearch data model
- search with filter by token count
- Usage of - operator in elasticsearch
- Running multiprocessing on two different functions in Python 2.7
- How to get an Elasticsearch aggregation with multiple fields
- How to implement custom sort in elasticsearch?
- Custom Analyzer not working Elasticsearch
- How to implement full text search using Elasticsearch in Rails?
- UnresolvedAddressException in Logstash+elasticsearch
- Elasticsearch Fiddler No DNS
- Monolithic ETL to distributed/scalable solution and OLAP cube to Elasticsearch/Solr
- how to disable page query in Spring-data-elasticsearch
- Create Custom Analyzer after index has been created
Related Questions in BULKINSERT
- MSSQL Bulk Insert CSV - Multiple columns include commas
- BULK generate data SQL Server
- PostgreSQL COPY IN and NPGSQL
- Use Bulk Insert or use default data in SQL
- EntityFramework.BulkInsert.SqlServerCe error
- Why BULK INSERT/BCP includes Sort operator although I have done everything to avoid that? (SQL Server 2012)
- The best way to fill table with data using npgsql
- Bulk insert CSV with as last column datatype bit
- Bulk insert .txt file in SQL
- Does MongoDB bulk update work for fields which don't exist
- How to Bulk Insert from XLSX file extension in SQL Server 2012?
- Mongo Bulk Insert across multiple collections
- How to insert bulk data into SQLite database in iOS using swift
- OleDbDataReader - No value given for one or more required parameters
- Elastic Search bulk indexing using perl
Related Questions in NEST
- How to avoid to extend the mapping on commiting an object
- Filter the aggregated results in sub aggregation using NEST
- ElasticSearch Nest Query with Dynamic Match
- How to append two SearchDescriptors in NEST
- ElasticSearch Nest AutoComplete based on words split by whitespace
- Re-index object with new fields
- MultiMatch query with Nest and Field Suffix
- Operator '??' cannot be applied to operands of type IQueryContainer and lambda expression
- Elasticsearch NEST facet is tokenizing field even if attribute of NotAnalyzed is defined in the mapping
- Elasticsearch and C# - query to find exact matches over strings
- ElasticSearch (Nest) Terms sub aggregation of Terms - Not working as intended
- Query returns both documents instead of just one
- ElasticSearch - how to get the auto generated id from an insert query
- Elasticsearch - How to get the sum of fields with terms?
- Nest update index settings
Related Questions in ELASTICSEARCH-NET
- ElasticSearch REST - insert JSON string without using class
- Elasticsearch date range filter does not give proper results with gte, lte
- Can't get any documents with NEST from elasticsearch
- How to check if connection to Elasticsearch is established?
- How to use Scroll while passing raw json Query to ElasticSearch using NEST
- How to init a scroll without returning the result in Elasticsearch.Net 5?
- Creating a custom tokenizer in ElasticSearch NEST
- ElasticSearch NEST alternative for C# .Contains()
- NEST partial matching for multiple values: Wildcards in Terms or any other way?
- Elasticsearch - How to do a partial match from your query
- How does attribute mapping for the NEST Elasticsearch client work for date times
- Serilog Elasicsearch Sink - custom index template mapping is ignored
- Why is elasticsearch's Nest lowlevel Search method ignoring type and index name defined in SearchDescriptor<>() object
- Implementing Highlighter when migrating from elasticsearch.net 7.17 to elastic.clients.elasticsearch 8.x
- Elasticsearch NEST fluent DSL Field name .Suffix causes syntax error
Related Questions in ELASTICSEARCH-BULK-API
- Elasticsearch Bulk Indexing Error Message : %s% is not a valid parameter. Allowed parameters are: %s%
- Adding documents using Bulk api in elasticsearch 5.1.1 through cerebro0.4.1 plugin
- ElasticSearch Delete bulk items
- How to get "related documents" in a query in Elasticearch?
- Elasticsearch-py bulk helper equivalent of curl with file
- What is the ideal bulk size formula in ElasticSearch?
- How to use ttl in elasticsearch bulk api (NEST)
- elasticsearch bulk indexing and redundant data in action part
- Bulk API error while indexing data into elasticsearch
- Elasticsearch - Bulk insert using Sense Web Plugin in Windows
- remove an item using bulk update
- Elasticsearch multiple JSON insert bulk
- How to insert an element into already present list in elastic search
- How to handle errors with bulk requests
- A mapper_parsing_exception occurred when using the bulk API of Elasticsearch
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Bulkmethod onElasticClientshould fit your requirements.You can pass various bulk operations into the
BulkRequest, this is a simple usage:Hope it helps.