# Why Elastic Search is not finding my term

**URL:** <https://discuss.elastic.co/t/why-elastic-search-is-not-finding-my-term/3920>\
**Category:** Elasticsearch\
**Created:** [February 13, 2011, 7:17am UTC](https://discuss.elastic.co/t/why-elastic-search-is-not-finding-my-term/3920 "2011-02-13T07:17:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![NANA](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nana/32/3268_2.png) [@NANA](https://discuss.elastic.co/u/NANA)\
**Post date:** [February 13, 2011, 7:17am UTC](https://discuss.elastic.co/t/why-elastic-search-is-not-finding-my-term/3920/1 "2011-02-13T07:17:34Z")

</div>

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 ....

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 13, 2011, 10:09pm UTC](https://discuss.elastic.co/t/why-elastic-search-is-not-finding-my-term/3920/2 "2011-02-13T22:09:35Z")

</div>

Can you gist a recreation? [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://elasticsearch.org/help)  
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 ....

---

<div class="post-metadata">

**Author:** ![NANA](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nana/32/3268_2.png) [@NANA](https://discuss.elastic.co/u/NANA)\
**Post date:** [February 14, 2011, 4:31am UTC](https://discuss.elastic.co/t/why-elastic-search-is-not-finding-my-term/3920/3 "2011-02-14T04:31:23Z")

</div>

you can find the discussion here

> <https://stackoverflow.com/questions/4981001/why-elasticsearch-is-not-finding-my-term>

On Feb 14, 3:09 am, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:

> Can you gist a recreation?[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://elasticsearch.org/help)
> 
> 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 ....

---

<div class="post-metadata">

**Author:** ![Karussell1](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@Karussell1](https://discuss.elastic.co/u/Karussell1)\
**Post date:** [February 14, 2011, 6:43pm UTC](https://discuss.elastic.co/t/why-elastic-search-is-not-finding-my-term/3920/4 "2011-02-14T18:43:17Z")

</div>

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](mailto: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 ....

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:12am UTC](https://discuss.elastic.co/t/why-elastic-search-is-not-finding-my-term/3920/5 "2017-07-06T04:12:05Z")

</div>

Closed on July 6, 2017, 4:12am UTC


