Hi,
I have indexed data on elastic search node. The structure of document is it
has two fields namely , name and message. In message it contains text. Now
I want to count the occurance of some particular phrase that occurs in
messages.
Like http://localhost:9200/big/data/INDEXES OF DOCUMENTS
The structure of document is
{
"name":"xyz",
"message":"i like to eat king's burger. I go there quite often"
}
Now I have like 40thousand records. I want to calculate how many times
king's burger have been mentioned in the messages of all documents.
I am not able to make query for this, I now its trivial stuff but I am
quite new in elastic search. Your help is highly appreciated.
On Thursday, September 20, 2012 12:29:25 PM UTC-7, ali ilyas wrote:
Hi,
I have indexed data on Elasticsearch node. The structure of document is
it has two fields namely , name and message. In message it contains text.
Now I want to count the occurance of some particular phrase that occurs in
messages.
Like http://localhost:9200/big/data/INDEXES OF DOCUMENTS
The structure of document is
{
"name":"xyz",
"message":"i like to eat king's burger. I go there quite often"
}
Now I have like 40thousand records. I want to calculate how many times
king's burger have been mentioned in the messages of all documents.
I am not able to make query for this, I now its trivial stuff but I am
quite new in Elasticsearch. Your help is highly appreciated.
On Thursday, September 20, 2012 12:29:25 PM UTC-7, ali ilyas wrote:
Hi,
I have indexed data on Elasticsearch node. The structure of document is
it has two fields namely , name and message. In message it contains text.
Now I want to count the occurance of some particular phrase that occurs in
messages.
Like http://localhost:9200/big/data/INDEXES OF DOCUMENTS
The structure of document is
{
"name":"xyz",
"message":"i like to eat king's burger. I go there quite often"
}
Now I have like 40thousand records. I want to calculate how many times
king's burger have been mentioned in the messages of all documents.
I am not able to make query for this, I now its trivial stuff but I am
quite new in Elasticsearch. Your help is highly appreciated.
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.