All Questions
Tagged with mapping elasticsearch
384
questions
-1
votes
1
answer
36
views
How to have multiple types of values (keyword, date..) in same name field in Opensearch
I collect the all container log by using OpenSearch.
sometimes, the log has different type value like this.
ex1)
{
"name": "david",
"age": "20"
}
ex2)
{
"...
0
votes
1
answer
150
views
dense_vector becomes a field of type "float"
I try to implement a search engine using elasticsearch. For that i created an index with a mapping that contains dense_vector fields.
PUT {{elastic uri}}/{{index}}
{
"mappings": {
...
0
votes
0
answers
30
views
Elasticsearch reindexing - missing child mapping
I have elastic index with join mapping, I created new index, performed reindexing. The issue is related to mapping on new index, I have all fields in new mapping except fields from document that is ...
0
votes
0
answers
9
views
Elaticsearch Field property missing for Date
I used to have an old Elasticsearch 6.8 index where I had a subfield .sortable for some properties in the mapping. Some were Keywords and others Date.
I used that naming convention, so that I could ...
0
votes
1
answer
22
views
Elasticsearch shared field name for different fields
I'm a bit confused how to best handle the following scenario with Elasticsearch. I've different types of documents, which have fields with semantically the same content but different field names (see ...
0
votes
1
answer
71
views
How to fix the mapping structure for Elastic search ? I am trying to migrate from 5.6 to 7.10
Need help with fixing mapping of ES from 5.6 to 7.10
Below is a sample structure. Tried multiple things, but doesnt seem to work, need help.
"_parent": {
"type": "brand&...
0
votes
0
answers
71
views
Update mapping of elastic index using ASP.NET Core
I am using elastic index named Equipment_Dashboard, I am using following code to add bulk data in the index.
var bulkDescriptor = new BulkDescriptor();
foreach (var elasticModel in ...
1
vote
1
answer
362
views
How to validate a document against Elasticsearch mapping without indexing it in Python?
I'm working with Elasticsearch in Python and I have a scenario where I want to validate a document against an existing index's mapping before actually sending it for indexing. The goal is to ensure ...
0
votes
1
answer
205
views
elasticsearch index mappings are not updating
I'm trying to update the mappings of an elasticsearch index.
The current mappings of one of the properties in my ES index is.
`"mappings": {
"properties": {
"name&...
0
votes
1
answer
291
views
How to map null values in Elastic Search?
I am trying add the following json doc to a new index:
[
{
"name": "C$",
"caption": "Default share",
"description&...
0
votes
1
answer
50
views
Is there a way to access the old _type metadata on elastic 8.x in script processor?
Using Elasticsearch 8.8
Im trying to use script pipeline to reindex documents, i will transform the old _type metadata into a new field '@type', but all scripts remove all _type and _score fields from ...
0
votes
0
answers
31
views
how I can map enum in CreateIndexDescriptor method that from Nest library-ElasticSearch
I create my map service for City entity. City entity is like this;
public string Id { get; set; }
public DateTime CreateDate { get; set; }
public string Name { get; set; }
public string LocalName { ...
0
votes
1
answer
208
views
How to update mapping on elasticsearch along with exiting fields
`How to add two new fields into exiting template on Elasticsearch
Below is current template
curl -XGET 'http://endpoint_name/_template/es_template_dev?pretty'{"voice_incoming_es_template_dev"...
0
votes
1
answer
29
views
Reindex documents, text and integer fields in elasticsearch 7
GET paganotti_civile_nuovo/_search
{
"query": {
"match": {
"numerosentenza": 1105
}
}
}
Run this query in elasticsearch 7 it return these fields:
"...
0
votes
1
answer
157
views
Python + ElasticSearch: Mapper Parsing Exceptions for join field
I'm using ElasticSearch 8.3.2 to store some data I have. The data consists of metabolites and several "studies" for each metabolite, with each study in turn containing concentration values. ...