Is there any possibility to make a search on two non-complete words in the same field using Elasticsearch in Rails
? I mean the situation when I could successfully search for example "victorian buildings
" phrase by inserting into search input for example "vict bui
" phrase (only beginnings of words, also with fuzziness).
Partial match (word_start
, text_start
etc. available in Searchkick
) doesn't work in this project. I've also tried using wildcard queries, but it also failed. Maybe writing some custom mappings/settings would be a good idea?
Can I ask you for any suggestions on what to search/read to do this task?