This is my first in this group. Have only started to work on elasticsearch
so am new to ES.
I'm trying to find out how do I get exact matches. For example,
"Foxconn preparing to build Apple HDTV?"
"Foxconn boss confirms Apple TV set"
When I query for "Apple" I get both documents returned. If I query for
"Apple HDTV" I still get both documents.
I've looked at the group, suggestions include "not_analyzed" and "keyword"
analyzer, both I've tried and failed. Have also tried to do bool query, and
failed too.
On Monday, May 14, 2012 5:23:34 PM UTC+8, lysd wrote:
Hi
This is my first in this group. Have only started to work on elasticsearch
so am new to ES.
I'm trying to find out how do I get exact matches. For example,
"Foxconn preparing to build Apple HDTV?"
"Foxconn boss confirms Apple TV set"
When I query for "Apple" I get both documents returned. If I query for
"Apple HDTV" I still get both documents.
I've looked at the group, suggestions include "not_analyzed" and "keyword"
analyzer, both I've tried and failed. Have also tried to do bool query, and
failed too.
On Monday, May 14, 2012 5:23:34 PM UTC+8, lysd wrote:
Hi
This is my first in this group. Have only started to work on
elasticsearch so am new to ES.
I'm trying to find out how do I get exact matches. For example,
"Foxconn preparing to build Apple HDTV?"
"Foxconn boss confirms Apple TV set"
When I query for "Apple" I get both documents returned. If I query for
"Apple HDTV" I still get both documents.
I've looked at the group, suggestions include "not_analyzed" and
"keyword" analyzer, both I've tried and failed. Have also tried to do bool
query, and failed too.
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.