Questions tagged [dynamic-mapping]
22 questions
0
votes
1 answer
Call a specific constructor to map @requestBody
I have a post call method and the method parameter is annotated with @ReuqestBody for class say A. Now, inside of my class A, there is a variable of type B and that class has couple of subclasses.
In the request, I am passing enum for sub-type of B…

N.Rajal
- 105
- 2
- 17
0
votes
1 answer
How to set dynamic default value for an entity class field by using hibernate?
I need to dynamically allocate value at creation time for an entity by fetching value from related table. Consider the below scenario where I have two classes - Student & Batch.
While inserting a new record in Student table at the time of creation,…

Naina
- 21
- 5
0
votes
0 answers
How do I create a Leaflet Proxy in observeEvent() for checkboxGroup in R Shiny
I'm a bit new to R Shiny, and I'm trying to make a simple, dynamic web map in which common users can find where to recycle a variety of materials in Eastern Kentucky. In my sidebar panel in the UI, I made a checkboxGroup, so the user can filter…

Melissa Allen
- 103
- 8
0
votes
1 answer
Using ElasticSearch mappings in a strict way
We are developing using ElasticSearch. We have created two indexes: notificacionespush_anadirdispositivo, which stores new user's devices, and notificacionespush_crearnotificacion, which stores information related to have created a new…

Yone
- 2,064
- 5
- 25
- 56
0
votes
1 answer
Does Elasticsearch Dynamic Mapping Reindex Documents?
THE PROBLEM
I'm new to elasticsearch, and I would like to understand the relation between dynamic mapping and reindexing documents.
From my experiments when dynamic mapping is on, the reindexing of documents is done automatically. which means if you…

Nelssen
- 1,023
- 1
- 17
- 42
0
votes
0 answers
Mapper.DynamicMap Mapping Exception
My application is getting an AutoMapper.AutoMapperMappingException that the object is not set to an instance of an object. I see in the mapping.cs file that it is being created so I am not sure where why I am getting this…

Jefferson
- 173
- 2
- 12
- 32
0
votes
0 answers
Searching and sorting on dynamic fields in ElasticSearch
Have created an object of colors, which contains the hex code of colors along with it's percentage,
/colors/mapping returns
{
"colors": {
"mappings": {
"colors_array": {
"dynamic": "strict",
"properties": {
…

Apoorv Saxena
- 4,086
- 10
- 30
- 46