appbaseio / dejavu

The Missing Web UI for Elasticsearch: Import, browse and edit data with rich filters and query views, create search UIs visually.
https://dejavu.reactivesearch.io
MIT License
8.35k stars 511 forks source link

Search Preview Autocomplete doesn't work #317

Open korywka opened 5 years ago

korywka commented 5 years ago

Request:

image

{"preference":"search"}
{"query":{"bool":{"must":[{"bool":{"must":{"bool":{"should":[{"multi_match":{"query":"v","fields":["name^1","name.keyword^1","synonyms^2","synonyms.keyword^1"],"type":"best_fields","operator":"or","fuzziness":0}},{"multi_match":{"query":"v","fields":["name^1","name.keyword^1","synonyms^2","synonyms.keyword^1"],"type":"phrase_prefix","operator":"or"}}],"minimum_should_match":"1"}}}}]}},"highlight":{"pre_tags":["<mark>"],"post_tags":["</mark>"],"fields":{"name":{},"synonyms":{}}},"size":20}

Response:

image

korywka commented 5 years ago

🔝 and no error message visible to user. just nothing happens.

dudek-marcin commented 4 years ago

Same problem here using "kibana_sample_data_flights" dataset from Kibana. I am not able to use "Search Preview tool"

"caused_by":{"type":"illegal_argument_exception","reason":"Can only use phrase prefix queries on text fields - not on [Carrier] which is of type [keyword]"}}}]},"status":400}

siddharthlatest commented 4 years ago

@dumar How are you using Dejavu? Which version are you on?

@lakhansamani @jyash97 I believe we have addressed this issue. Is this a sync issue?

dudek-marcin commented 4 years ago

I used the newest released version, I have tried both docker and chrome extension. Elasticsearch is also in the newest version 7.4.0