Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Search Error: Fielddata is disabled on text fields by default. #77

Closed
jackie-d opened this issue Sep 8, 2017 · 3 comments
Closed

Search Error: Fielddata is disabled on text fields by default. #77

jackie-d opened this issue Sep 8, 2017 · 3 comments
Labels

Comments

@jackie-d
Copy link

jackie-d commented Sep 8, 2017

Hi,
Laravel 5.4, ES 5.2.0.

Importing fine, but on search I get:

(1/1) BadRequest400Exception {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [name] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"xxxxxxxxx","node":"GMpAuk7dRzSA0TVfY5EwNA","reason":{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [name] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory."}}],"caused_by":{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [name] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory."}},"status":400}

Any hint?

Thanks.

@alexTitakoff
Copy link

++

@stale
Copy link

stale bot commented Sep 20, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 20, 2020
@stale stale bot closed this as completed Sep 27, 2020
@mvehar-preskok
Copy link

Any response on this one?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants