Hi all, I wonder if anyone knows how to solve this one: I'm trying to mimic Linux "grep" command behavior in Elastic Search.
*The problem:* Sending search request for "hello world" should first return all matches where these two words come together in a sentence. However, internal Elastic Search ranking kicks off instead, returning matches with high appearances of "hello" or "world" words. *Current configuration:* I'm indexing file contents using the attachments plug in from https://github.com/elasticsearch/elasticsearch-mapper-attachments (mappings attached). I was suspecting analyzer breaking the original file structure, so I tried to disable it by using { "index": "not analyzed" }, but it didn't help. Appreciate any advice you can come up with :) Thanks, Sergey. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c416237c-ddc9-4d15-be60-e904af46ac57%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
mappings.json
Description: Binary data
