mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 17:42:57 +00:00
Resolve "Retype mapping generation using @elastic/elasticsearch"
This commit is contained in:
committed by
Rainer Killinger
parent
fc850fe7ac
commit
d90416e201
@@ -12,10 +12,8 @@
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import {ThingType} from './types';
|
||||
import {MapAggTestOptions} from '../../map-agg-test-options';
|
||||
import {ElasticsearchDataType} from '../../../../src/config/typemap';
|
||||
|
||||
/**
|
||||
* @indexable
|
||||
@@ -44,13 +42,13 @@ export const testConfig: MapAggTestOptions = {
|
||||
map: {
|
||||
maps: {
|
||||
foo: {
|
||||
type: ElasticsearchDataType.integer,
|
||||
type: 'integer',
|
||||
},
|
||||
bar: {
|
||||
type: ElasticsearchDataType.keyword,
|
||||
type: 'keyword',
|
||||
},
|
||||
baz: {
|
||||
type: ElasticsearchDataType.float,
|
||||
type: 'float',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user