When the user searches with the terms "word1 word2" (where word1 and word2 are parts of the complete words) the correct document returns but the ES highlights only one of the words.
For example, when the user searches for "ΣΥΜΒΟΥΛ ΕΠΙΚΡΑΤ" (instead of "ΣΥΜΒΟΥΛΙΟ ΕΠΙΚΡΑΤΕΙΑΣ"), the ES highlights only the ΣΥΜΒΟΥΛΙΟ and not the ΕΠΙΚΡΑΤΕΙΑΣ.
I think that the problem has to do with the stemming of the two words. But i do not know how to change things to solve this.
Unfortunately the type of the field (search_as_you_type), due to the its length i suppose, it returns error during ingestion:
TransportError(429, 'circuit_breaking_exception', '[parent] Data too large, data for [<http_request>] would be [2090148108/1.9gb], which is larger than the limit of [2040109465/1.8gb], real usage: [2088466136/1.9gb], new bytes reserved: [1681972/1.6mb], usages [request=416530432/397.2mb, fielddata=4958016/4.7mb, in_flight_requests=1681972/1.6mb, model_inference=0/0b, accounting=2335104/2.2mb]')
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.