My case is store some words in index, every word get it's own ID. My query
data is some message. When there are some punctuation in the query data
message, it will give a wrong answer.
For instance, I store keyword "banana" and "green" and "pen" in the index.
My query data1: "is this banana?"
The result will be empty hits.
My query data2: ">> it is a pen"
The symbol ">>" will hits all the keywords in the index.
Without the punctuation the query result will works right.
Any idea about how to use elasticsearch setup to solve this?
Environment Configuration:
Ubuntu 12.04 desktop 64 bit Elasticsearch server in Ubuntu, version
0.90.7,single node
Client: pyelasticsearch Programing language: python
Can you post more information. Sample documents, sample queries, etc.
Andrew Cholakian
Developer, Found Hosted Elasticsearch
www.found.no, @foundsays
On Thursday, December 12, 2013 5:19:33 AM UTC-8, cml wrote:
My case is store some words in index, every word get it's own ID. My query
data is some message. When there are some punctuation in the query data
message, it will give a wrong answer.
For instance, I store keyword "banana" and "green" and "pen" in the index.
My query data1: "is this banana?"
The result will be empty hits.
My query data2: ">> it is a pen"
The symbol ">>" will hits all the keywords in the index.
Without the punctuation the query result will works right.
Any idea about how to use elasticsearch setup to solve this?
Environment Configuration:
Ubuntu 12.04 desktop 64 bit Elasticsearch server in Ubuntu, version
0.90.7,single node
Client: pyelasticsearch Programing language: python
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.