A quick question.
Can I just query keywords (eg. "AI" "Intelligence") and get result list?
It looks like ES kindly returns results based on matching score by default.
I want to use ES just as keywords search engine. (I don't need "guessing".)
When I perform a query with multiple keywords such as "AI Artificial Intelligence", the response contains documents which don't contain the searching words.
I'd like to understand why and know if I can control this behavior.
My guess is that ES sorts the response based on score with similarities to the searching words and, in some cases, it results in returning documents containing no searching words because of higher score calculated by lucene(?).
My goal in this case is just to search documents containing my searching keywords. In other words, I don't need documents if they don't contain my searching keywords..
I figured out the cause!
I'm using ES python client and passing "keyword" between double quotation(") but the double quotation requires "escaped". I added backslash(¥) before " and everything works fine!!
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.