Skip to content
This repository was archived by the owner on Aug 13, 2019. It is now read-only.
This repository was archived by the owner on Aug 13, 2019. It is now read-only.

Elasticsearch errors in querying #461

@peterbe

Description

@peterbe

See https://gist.github.com/peterbe/9ee7f6faf5bb8a96fab09fc921e3818b

In particular:

java.lang.IllegalArgumentException: Fielddata is disabled on text fields by default. Set fielddata=true on [source.product] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.

This happens when I use POST http://localhost:8888/v1/buckets/build-hub/collections/releases/search from the Buildhub web UI locally.
My ES schema looks as follows: https://gist.github.com/peterbe/32378af65a99d1085a3501a76c3bc575

So, with ES 5.4.0 can you not cardinality query on a Text field?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions