NANA
(NANA)
February 13, 2011, 7:17am
1
I just installed and testing elastic search it looks great and i need
to know some thing i have an configuration file
elasticsearch.json in config directory
{
"network" : {
"host" : "127.0.0.1"
},
"index" : {
"number_of_shards": 3,
"number_of_replicas": 1,
"refresh_interval" : "2s",
"analysis" : {
"analyzer" : {
"index_analyzer" : {
"tokenizer" : "nGram",
"filter" : ["lowercase"]
},
"search_analyzer" :
{
"tokenizer" : "nGram",
"filter" : ["lowercase"]
}
},
"// you'll need lucene dep for this: filter" :
{
"snowball": {
"type" : "snowball",
"language" : "English"
}
}
}
}
}
and i have inserted an doc that contains a word searching if i search
for keyword search it says nothing found...
wont it stem before indexing or i missed some thing in config ....
kimchy
(Shay Banon)
February 13, 2011, 10:09pm
2
Can you gist a recreation? Elasticsearch Platform — Find real-time answers at scale | Elastic
On Sunday, February 13, 2011 at 9:17 AM, NANA wrote:
I just installed and testing Elasticsearch it looks great and i need
to know some thing i have an configuration file
elasticsearch.json in config directory
{
"network" : {
"host" : "127.0.0.1"
},
"index" : {
"number_of_shards": 3,
"number_of_replicas": 1,
"refresh_interval" : "2s",
"analysis" : {
"analyzer" : {
"index_analyzer" : {
"tokenizer" : "nGram",
"filter" : ["lowercase"]
},
"search_analyzer" :
{
"tokenizer" : "nGram",
"filter" : ["lowercase"]
}
},
"// you'll need lucene dep for this: filter" :
{
"snowball": {
"type" : "snowball",
"language" : "English"
}
}
}
}
}
and i have inserted an doc that contains a word searching if i search
for keyword search it says nothing found...
wont it stem before indexing or i missed some thing in config ....
NANA
(NANA)
February 14, 2011, 4:31am
3
you can find the discussion here
elasticsearch
On Feb 14, 3:09 am, Shay Banon shay.ba...@elasticsearch.com wrote:
Can you gist a recreation?Elasticsearch Platform — Find real-time answers at scale | Elastic
On Sunday, February 13, 2011 at 9:17 AM, NANA wrote:
I just installed and testing Elasticsearch it looks great and i need
to know some thing i have an configuration file
elasticsearch.json in config directory
{
"network" : {
"host" : "127.0.0.1"
},
"index" : {
"number_of_shards": 3,
"number_of_replicas": 1,
"refresh_interval" : "2s",
"analysis" : {
"analyzer" : {
"index_analyzer" : {
"tokenizer" : "nGram",
"filter" : ["lowercase"]
},
"search_analyzer" :
{
"tokenizer" : "nGram",
"filter" : ["lowercase"]
}
},
"// you'll need lucene dep for this: filter" :
{
"snowball": {
"type" : "snowball",
"language" : "English"
}
}
}
}
}
and i have inserted an doc that contains a word searching if i search
for keyword search it says nothing found...
wont it stem before indexing or i missed some thing in config ....
Karussell1
(Karussell)
February 14, 2011, 6:43pm
4
didn't you need to include the stemmer here?
"filter" : ["lowercase", "snowball"]
how does your query look?
On 13 Feb., 08:17, NANA naveen....@gmail.com wrote:
I just installed and testing Elasticsearch it looks great and i need
to know some thing i have an configuration file
elasticsearch.json in config directory
{
"network" : {
"host" : "127.0.0.1"},
"index" : {
"number_of_shards": 3,
"number_of_replicas": 1,
"refresh_interval" : "2s",
"analysis" : {
"analyzer" : {
"index_analyzer" : {
"tokenizer" : "nGram",
"filter" : ["lowercase"]
},
"search_analyzer" :
{
"tokenizer" : "nGram",
"filter" : ["lowercase"]
}
},
"// you'll need lucene dep for this: filter" :
{
"snowball": {
"type" : "snowball",
"language" : "English"
}
}
}
}
}
and i have inserted an doc that contains a word searching if i search
for keyword search it says nothing found...
wont it stem before indexing or i missed some thing in config ....