# "index":"no" does not work

**URL:** https://discuss.elastic.co/t/index-no-does-not-work/5183
**Category:** Elasticsearch
**Created:** [August 17, 2011, 9:47am UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183 "2011-08-17T09:47:38Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![hamazasp\_avetisyan](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@hamazasp\_avetisyan](https://discuss.elastic.co/u/hamazasp_avetisyan)
#### Post date: [August 17, 2011, 9:47am UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183/1 "2011-08-17T09:47:38Z")

</div>

Hi,  
I'm using dynamic mapping for indexing. Above you can see PHP  
structure of data.

array("mailing\_index" =\>  
array("properties" =\>  
array(  
"f\_id" =\>  
array("type" =\> "long"),  
"f\_from" =\>  
array("type" =\> "string",  
"index" =\> "analyzed", "analyzer" =\> "default"),  
"f\_subject" =\>  
array("type" =\> "string",  
"index" =\> "not\_analyzed"),  
"f\_body" =\>  
array("type" =\> "string",  
"index" =\> "analyzed", "analyzer" =\> "default"),  
"f\_reply\_to" =\>  
array("type" =\> "string",  
"index" =\> "no"),  
"f\_type" =\>  
array("type" =\> "string",  
"index" =\> "not\_analyzed"),  
"f\_status" =\>  
array("type" =\> "integer",  
"index" =\> "no"),  
"f\_datetime" =\>  
array("type" =\> "long",  
"index" =\> "not\_analyzed"),  
"f\_userid" =\>  
array("type" =\> "long",  
"index" =\> "not\_analyzed"),  
)  
)  
)

As you can see "f\_reply\_to" field marked as "index" =\> "no". But I am  
able to perform search by this field. In documentation of elastic  
search we can find a line " "index:no" means that it won’t be  
searchable at all". Used the 0.17.6 version of elasticsearch. Same  
behavior for 0.17.0.

Maybe I'm doing something wrong, please help me to understand the  
situation.

//////////////////////// config file  
content //////////////////////////////////  
node :  
data : true  
gateway :  
type : fs  
index :  
analysis :  
analyzer :  
default :  
type : custom  
tokenizer : standard  
filter : [standard, lowercase, porterStem, stop]

network.publish\_host: 127.0.0.1  
network.bind\_host: 127.0.0.1  
network.host: 127.0.0.1

node.data: true # Default

http.port: 9200 # Default

cluster.name: "TestCluster"

//////////////////////// end of config file  
content ////////////////////////////////

Thanks in advance  
H. Avetsyan

---

<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: [August 17, 2011, 11:42am UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183/2 "2011-08-17T11:42:19Z")

</div>

Two things: How do you search for the value? Do you search against the  
specific field? By default, it is added to the \_all field (and its the  
default field being searched on). You can disable it from being added to the  
\_all field as well. Also, make sure the mapping you set is actually the  
mapping you identified by elasticsearch, use the get mapping API to check it  
out.

On Wed, Aug 17, 2011 at 12:47 PM, hamazasp.avetisyan \<  
[hamazasp.avetisyan@gmail.com](mailto:hamazasp.avetisyan@gmail.com)\> wrote:

> Hi,  
> I'm using dynamic mapping for indexing. Above you can see PHP  
> structure of data.
> 
> array("mailing\_index" =\>  
> array("properties" =\>  
> array(  
> "f\_id" =\>  
> array("type" =\> "long"),  
> "f\_from" =\>  
> array("type" =\> "string",  
> "index" =\> "analyzed", "analyzer" =\> "default"),  
> "f\_subject" =\>  
> array("type" =\> "string",  
> "index" =\> "not\_analyzed"),  
> "f\_body" =\>  
> array("type" =\> "string",  
> "index" =\> "analyzed", "analyzer" =\> "default"),  
> "f\_reply\_to" =\>  
> array("type" =\> "string",  
> "index" =\> "no"),  
> "f\_type" =\>  
> array("type" =\> "string",  
> "index" =\> "not\_analyzed"),  
> "f\_status" =\>  
> array("type" =\> "integer",  
> "index" =\> "no"),  
> "f\_datetime" =\>  
> array("type" =\> "long",  
> "index" =\> "not\_analyzed"),  
> "f\_userid" =\>  
> array("type" =\> "long",  
> "index" =\> "not\_analyzed"),  
> )  
> )  
> )
> 
> As you can see "f\_reply\_to" field marked as "index" =\> "no". But I am  
> able to perform search by this field. In documentation of elastic  
> search we can find a line " "index:no" means that it won’t be  
> searchable at all". Used the 0.17.6 version of elasticsearch. Same  
> behavior for 0.17.0.
> 
> Maybe I'm doing something wrong, please help me to understand the  
> situation.
> 
> //////////////////////// config file  
> content //////////////////////////////////  
> node :  
> data : true  
> gateway :  
> type : fs  
> index :  
> analysis :  
> analyzer :  
> default :  
> type : custom  
> tokenizer : standard  
> filter : [standard, lowercase, porterStem, stop]
> 
> network.publish\_host: 127.0.0.1  
> network.bind\_host: 127.0.0.1  
> network.host: 127.0.0.1
> 
> node.data: true # Default
> 
> http.port: 9200 # Default
> 
> cluster.name: "TestCluster"
> 
> //////////////////////// end of config file  
> content ////////////////////////////////
> 
> Thanks in advance  
> H. Avetsyan

---

<div class="post-metadata">

### Author: ![hamazasp\_avetisyan](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@hamazasp\_avetisyan](https://discuss.elastic.co/u/hamazasp_avetisyan)
#### Post date: [August 18, 2011, 8:20am UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183/3 "2011-08-18T08:20:22Z")

</div>

Hi, thank you for reply!

For mapping I am using the following URL

host:port/my\_db/mailing\_index/\_mapping

As you can see no "\_all" specified

For searching I am using the following URL  
host:port/TestCluster/mailing\_index/\_search

The argument for sort operation contains just a Boolean condition(with  
query string), limits and sorting. No "\_all" specified.

I've checked the structure of index using get mapping API, everything  
is OK (as I specified in argument for mapping).

So the issue still exists.

Best regards,  
H.Avetisyan

On Aug 17, 4:42 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> Two things: How do you search for the value? Do you search against the  
> specific field? By default, it is added to the \_all field (and its the  
> default field being searched on). You can disable it from being added to the  
> \_all field as well. Also, make sure the mapping you set is actually the  
> mapping you identified by elasticsearch, use the get mapping API to check it  
> out.
> 
> On Wed, Aug 17, 2011 at 12:47 PM, hamazasp.avetisyan \<
> 
> [hamazasp.avetis...@gmail.com](mailto:hamazasp.avetis...@gmail.com)\> wrote:
> 
> > Hi,  
> > I'm using dynamic mapping for indexing. Above you can see PHP  
> > structure of data.
> 
> > array("mailing\_index" =\>  
> > array("properties" =\>  
> > array(  
> > "f\_id" =\>  
> > array("type" =\> "long"),  
> > "f\_from" =\>  
> > array("type" =\> "string",  
> > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > "f\_subject" =\>  
> > array("type" =\> "string",  
> > "index" =\> "not\_analyzed"),  
> > "f\_body" =\>  
> > array("type" =\> "string",  
> > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > "f\_reply\_to" =\>  
> > array("type" =\> "string",  
> > "index" =\> "no"),  
> > "f\_type" =\>  
> > array("type" =\> "string",  
> > "index" =\> "not\_analyzed"),  
> > "f\_status" =\>  
> > array("type" =\> "integer",  
> > "index" =\> "no"),  
> > "f\_datetime" =\>  
> > array("type" =\> "long",  
> > "index" =\> "not\_analyzed"),  
> > "f\_userid" =\>  
> > array("type" =\> "long",  
> > "index" =\> "not\_analyzed"),  
> > )  
> > )  
> > )
> 
> > As you can see "f\_reply\_to" field marked as "index" =\> "no". But I am  
> > able to perform search by this field. In documentation of elastic  
> > search we can find a line " "index:no" means that it won’t be  
> > searchable at all". Used the 0.17.6 version of elasticsearch. Same  
> > behavior for 0.17.0.
> 
> > Maybe I'm doing something wrong, please help me to understand the  
> > situation.
> 
> > //////////////////////// config file  
> > content //////////////////////////////////  
> > node :  
> > data : true  
> > gateway :  
> > type : fs  
> > index :  
> > analysis :  
> > analyzer :  
> > default :  
> > type : custom  
> > tokenizer : standard  
> > filter : [standard, lowercase, porterStem, stop]
> 
> > network.publish\_host: 127.0.0.1  
> > network.bind\_host: 127.0.0.1  
> > network.host: 127.0.0.1
> 
> > node.data: true # Default
> 
> > http.port: 9200 # Default
> 
> > cluster.name: "TestCluster"
> 
> > //////////////////////// end of config file  
> > content ////////////////////////////////
> 
> > Thanks in advance  
> > H. Avetsyan

---

<div class="post-metadata">

### Author: ![hamazasp\_avetisyan](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@hamazasp\_avetisyan](https://discuss.elastic.co/u/hamazasp_avetisyan)
#### Post date: [August 18, 2011, 8:23am UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183/4 "2011-08-18T08:23:21Z")

</div>

Hi, thank you for reply!

For mapping I am using the following URL  
host:port/my\_db/mailing\_index/\_mapping

As you can see no "\_all" specified

For searching I am using the following URL  
host:port/my\_db/mailing\_index/\_search

The argument for sort operation contains just a Boolean  
condition(with  
query string), limits and sorting. No "\_all" specified.

I've checked the structure of index using get mapping API, everything  
is OK (as I specified in argument for mapping).  
So the issue still exists.

Best regards,  
H.Avetisyan

On Aug 17, 4:42 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> Two things: How do you search for the value? Do you search against the  
> specific field? By default, it is added to the \_all field (and its the  
> default field being searched on). You can disable it from being added to the  
> \_all field as well. Also, make sure the mapping you set is actually the  
> mapping you identified by elasticsearch, use the get mapping API to check it  
> out.
> 
> On Wed, Aug 17, 2011 at 12:47 PM, hamazasp.avetisyan \<
> 
> [hamazasp.avetis...@gmail.com](mailto:hamazasp.avetis...@gmail.com)\> wrote:
> 
> > Hi,  
> > I'm using dynamic mapping for indexing. Above you can see PHP  
> > structure of data.
> 
> > array("mailing\_index" =\>  
> > array("properties" =\>  
> > array(  
> > "f\_id" =\>  
> > array("type" =\> "long"),  
> > "f\_from" =\>  
> > array("type" =\> "string",  
> > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > "f\_subject" =\>  
> > array("type" =\> "string",  
> > "index" =\> "not\_analyzed"),  
> > "f\_body" =\>  
> > array("type" =\> "string",  
> > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > "f\_reply\_to" =\>  
> > array("type" =\> "string",  
> > "index" =\> "no"),  
> > "f\_type" =\>  
> > array("type" =\> "string",  
> > "index" =\> "not\_analyzed"),  
> > "f\_status" =\>  
> > array("type" =\> "integer",  
> > "index" =\> "no"),  
> > "f\_datetime" =\>  
> > array("type" =\> "long",  
> > "index" =\> "not\_analyzed"),  
> > "f\_userid" =\>  
> > array("type" =\> "long",  
> > "index" =\> "not\_analyzed"),  
> > )  
> > )  
> > )
> 
> > As you can see "f\_reply\_to" field marked as "index" =\> "no". But I am  
> > able to perform search by this field. In documentation of elastic  
> > search we can find a line " "index:no" means that it won’t be  
> > searchable at all". Used the 0.17.6 version of elasticsearch. Same  
> > behavior for 0.17.0.
> 
> > Maybe I'm doing something wrong, please help me to understand the  
> > situation.
> 
> > //////////////////////// config file  
> > content //////////////////////////////////  
> > node :  
> > data : true  
> > gateway :  
> > type : fs  
> > index :  
> > analysis :  
> > analyzer :  
> > default :  
> > type : custom  
> > tokenizer : standard  
> > filter : [standard, lowercase, porterStem, stop]
> 
> > network.publish\_host: 127.0.0.1  
> > network.bind\_host: 127.0.0.1  
> > network.host: 127.0.0.1
> 
> > node.data: true # Default
> 
> > http.port: 9200 # Default
> 
> > cluster.name: "TestCluster"
> 
> > //////////////////////// end of config file  
> > content ////////////////////////////////
> 
> > Thanks in advance  
> > H. Avetsyan

---

<div class="post-metadata">

### Author: ![hamazasp\_avetisyan](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@hamazasp\_avetisyan](https://discuss.elastic.co/u/hamazasp_avetisyan)
#### Post date: [August 18, 2011, 8:25am UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183/5 "2011-08-18T08:25:16Z")

</div>

Hi, thank you for reply!

For mapping I am using the following URL  
host:port/my\_db/mailing\_index/\_mapping

As you can see no "\_all" specified

For searching I am using the following URL  
host:port/TestCluster/mailing\_index/\_search

The argument for search contains a Boolean condition(with  
query string), limits and sorting. No "\_all" specified.

I've checked the structure of index using get mapping API, everything  
is OK (as I specified in argument for mapping).  
So the issue still exists.  
Best regards,  
H.Avetisyan

On Aug 17, 4:42 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> Two things: How do you search for the value? Do you search against the  
> specific field? By default, it is added to the \_all field (and its the  
> default field being searched on). You can disable it from being added to the  
> \_all field as well. Also, make sure the mapping you set is actually the  
> mapping you identified by elasticsearch, use the get mapping API to check it  
> out.
> 
> On Wed, Aug 17, 2011 at 12:47 PM, hamazasp.avetisyan \<
> 
> [hamazasp.avetis...@gmail.com](mailto:hamazasp.avetis...@gmail.com)\> wrote:
> 
> > Hi,  
> > I'm using dynamic mapping for indexing. Above you can see PHP  
> > structure of data.
> 
> > array("mailing\_index" =\>  
> > array("properties" =\>  
> > array(  
> > "f\_id" =\>  
> > array("type" =\> "long"),  
> > "f\_from" =\>  
> > array("type" =\> "string",  
> > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > "f\_subject" =\>  
> > array("type" =\> "string",  
> > "index" =\> "not\_analyzed"),  
> > "f\_body" =\>  
> > array("type" =\> "string",  
> > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > "f\_reply\_to" =\>  
> > array("type" =\> "string",  
> > "index" =\> "no"),  
> > "f\_type" =\>  
> > array("type" =\> "string",  
> > "index" =\> "not\_analyzed"),  
> > "f\_status" =\>  
> > array("type" =\> "integer",  
> > "index" =\> "no"),  
> > "f\_datetime" =\>  
> > array("type" =\> "long",  
> > "index" =\> "not\_analyzed"),  
> > "f\_userid" =\>  
> > array("type" =\> "long",  
> > "index" =\> "not\_analyzed"),  
> > )  
> > )  
> > )
> 
> > As you can see "f\_reply\_to" field marked as "index" =\> "no". But I am  
> > able to perform search by this field. In documentation of elastic  
> > search we can find a line " "index:no" means that it won’t be  
> > searchable at all". Used the 0.17.6 version of elasticsearch. Same  
> > behavior for 0.17.0.
> 
> > Maybe I'm doing something wrong, please help me to understand the  
> > situation.
> 
> > //////////////////////// config file  
> > content //////////////////////////////////  
> > node :  
> > data : true  
> > gateway :  
> > type : fs  
> > index :  
> > analysis :  
> > analyzer :  
> > default :  
> > type : custom  
> > tokenizer : standard  
> > filter : [standard, lowercase, porterStem, stop]
> 
> > network.publish\_host: 127.0.0.1  
> > network.bind\_host: 127.0.0.1  
> > network.host: 127.0.0.1
> 
> > node.data: true # Default
> 
> > http.port: 9200 # Default
> 
> > cluster.name: "TestCluster"
> 
> > //////////////////////// end of config file  
> > content ////////////////////////////////
> 
> > Thanks in advance  
> > H. Avetsyan

---

<div class="post-metadata">

### Author: ![hamazasp\_avetisyan](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@hamazasp\_avetisyan](https://discuss.elastic.co/u/hamazasp_avetisyan)
#### Post date: [August 18, 2011, 8:27am UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183/6 "2011-08-18T08:27:08Z")

</div>

Hi, thank you for reply!

For mapping I am using the following URL  
host:port/my\_db/mailing\_index/\_mapping

As you can see no "\_all" specified.

For searching I am using the following URL  
host:port/my\_db/mailing\_index/\_search

The argument for search operation contains a Boolean condition(with  
query string), limits and sorting. No "\_all" specified.

I've checked the structure of index using get mapping API, everything  
is OK (as I specified in argument for mapping).

So the issue still exists.  
Best regards,  
H.Avetisyan

On Aug 17, 4:42 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> Two things: How do you search for the value? Do you search against the  
> specific field? By default, it is added to the \_all field (and its the  
> default field being searched on). You can disable it from being added to the  
> \_all field as well. Also, make sure the mapping you set is actually the  
> mapping you identified by elasticsearch, use the get mapping API to check it  
> out.
> 
> On Wed, Aug 17, 2011 at 12:47 PM, hamazasp.avetisyan \<
> 
> [hamazasp.avetis...@gmail.com](mailto:hamazasp.avetis...@gmail.com)\> wrote:
> 
> > Hi,  
> > I'm using dynamic mapping for indexing. Above you can see PHP  
> > structure of data.
> 
> > array("mailing\_index" =\>  
> > array("properties" =\>  
> > array(  
> > "f\_id" =\>  
> > array("type" =\> "long"),  
> > "f\_from" =\>  
> > array("type" =\> "string",  
> > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > "f\_subject" =\>  
> > array("type" =\> "string",  
> > "index" =\> "not\_analyzed"),  
> > "f\_body" =\>  
> > array("type" =\> "string",  
> > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > "f\_reply\_to" =\>  
> > array("type" =\> "string",  
> > "index" =\> "no"),  
> > "f\_type" =\>  
> > array("type" =\> "string",  
> > "index" =\> "not\_analyzed"),  
> > "f\_status" =\>  
> > array("type" =\> "integer",  
> > "index" =\> "no"),  
> > "f\_datetime" =\>  
> > array("type" =\> "long",  
> > "index" =\> "not\_analyzed"),  
> > "f\_userid" =\>  
> > array("type" =\> "long",  
> > "index" =\> "not\_analyzed"),  
> > )  
> > )  
> > )
> 
> > As you can see "f\_reply\_to" field marked as "index" =\> "no". But I am  
> > able to perform search by this field. In documentation of elastic  
> > search we can find a line " "index:no" means that it won’t be  
> > searchable at all". Used the 0.17.6 version of elasticsearch. Same  
> > behavior for 0.17.0.
> 
> > Maybe I'm doing something wrong, please help me to understand the  
> > situation.
> 
> > //////////////////////// config file  
> > content //////////////////////////////////  
> > node :  
> > data : true  
> > gateway :  
> > type : fs  
> > index :  
> > analysis :  
> > analyzer :  
> > default :  
> > type : custom  
> > tokenizer : standard  
> > filter : [standard, lowercase, porterStem, stop]
> 
> > network.publish\_host: 127.0.0.1  
> > network.bind\_host: 127.0.0.1  
> > network.host: 127.0.0.1
> 
> > node.data: true # Default
> 
> > http.port: 9200 # Default
> 
> > cluster.name: "TestCluster"
> 
> > //////////////////////// end of config file  
> > content ////////////////////////////////
> 
> > Thanks in advance  
> > H. Avetsyan

---

<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: [August 18, 2011, 12:09pm UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183/7 "2011-08-18T12:09:53Z")

</div>

What I meant is what type of query do you execute when you say it does not  
work?

On Thu, Aug 18, 2011 at 11:20 AM, hamazasp.avetisyan \<  
[hamazasp.avetisyan@gmail.com](mailto:hamazasp.avetisyan@gmail.com)\> wrote:

> Hi, thank you for reply!
> 
> For mapping I am using the following URL
> 
> host:port/my\_db/mailing\_index/\_mapping
> 
> As you can see no "\_all" specified
> 
> For searching I am using the following URL  
> host:port/TestCluster/mailing\_index/\_search
> 
> The argument for sort operation contains just a Boolean condition(with  
> query string), limits and sorting. No "\_all" specified.
> 
> I've checked the structure of index using get mapping API, everything  
> is OK (as I specified in argument for mapping).
> 
> So the issue still exists.
> 
> Best regards,  
> H.Avetisyan
> 
> On Aug 17, 4:42 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> 
> > Two things: How do you search for the value? Do you search against the  
> > specific field? By default, it is added to the \_all field (and its the  
> > default field being searched on). You can disable it from being added to  
> > the  
> > \_all field as well. Also, make sure the mapping you set is actually the  
> > mapping you identified by elasticsearch, use the get mapping API to check  
> > it  
> > out.
> > 
> > On Wed, Aug 17, 2011 at 12:47 PM, hamazasp.avetisyan \<
> > 
> > [hamazasp.avetis...@gmail.com](mailto:hamazasp.avetis...@gmail.com)\> wrote:
> > 
> > > Hi,  
> > > I'm using dynamic mapping for indexing. Above you can see PHP  
> > > structure of data.
> > 
> > > array("mailing\_index" =\>  
> > > array("properties" =\>  
> > > array(  
> > > "f\_id" =\>  
> > > array("type" =\> "long"),  
> > > "f\_from" =\>  
> > > array("type" =\> "string",  
> > > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > > "f\_subject" =\>  
> > > array("type" =\> "string",  
> > > "index" =\> "not\_analyzed"),  
> > > "f\_body" =\>  
> > > array("type" =\> "string",  
> > > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > > "f\_reply\_to" =\>  
> > > array("type" =\> "string",  
> > > "index" =\> "no"),  
> > > "f\_type" =\>  
> > > array("type" =\> "string",  
> > > "index" =\> "not\_analyzed"),  
> > > "f\_status" =\>  
> > > array("type" =\> "integer",  
> > > "index" =\> "no"),  
> > > "f\_datetime" =\>  
> > > array("type" =\> "long",  
> > > "index" =\> "not\_analyzed"),  
> > > "f\_userid" =\>  
> > > array("type" =\> "long",  
> > > "index" =\> "not\_analyzed"),  
> > > )  
> > > )  
> > > )
> > 
> > > As you can see "f\_reply\_to" field marked as "index" =\> "no". But I am  
> > > able to perform search by this field. In documentation of elastic  
> > > search we can find a line " "index:no" means that it won’t be  
> > > searchable at all". Used the 0.17.6 version of elasticsearch. Same  
> > > behavior for 0.17.0.
> > 
> > > Maybe I'm doing something wrong, please help me to understand the  
> > > situation.
> > 
> > > //////////////////////// config file  
> > > content //////////////////////////////////  
> > > node :  
> > > data : true  
> > > gateway :  
> > > type : fs  
> > > index :  
> > > analysis :  
> > > analyzer :  
> > > default :  
> > > type : custom  
> > > tokenizer : standard  
> > > filter : [standard, lowercase, porterStem, stop]
> > 
> > > network.publish\_host: 127.0.0.1  
> > > network.bind\_host: 127.0.0.1  
> > > network.host: 127.0.0.1
> > 
> > > node.data: true # Default
> > 
> > > http.port: 9200 # Default
> > 
> > > cluster.name: "TestCluster"
> > 
> > > //////////////////////// end of config file  
> > > content ////////////////////////////////
> > 
> > > Thanks in advance  
> > > H. Avetsyan

---

<div class="post-metadata">

### Author: ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)
#### Post date: [August 19, 2011, 9:03am UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183/8 "2011-08-19T09:03:04Z")

</div>

On Wed, 2011-08-17 at 14:42 +0300, Shay Banon wrote:

> Two things: How do you search for the value? Do you search against the  
> specific field? By default, it is added to the \_all field (and its the  
> default field being searched on). You can disable it from being added  
> to the \_all field as well. Also, make sure the mapping you set is  
> actually the mapping you identified by elasticsearch, use the get  
> mapping API to check it out.

Note: there is an issue open to disable include\_in\_all when index: "no"  
is specified, as it is more Do-What-I-Mean

> <https://github.com/elastic/elasticsearch/issues/1087>
>
> \`\`\`
> curl -XPUT 'http://127.0.0.1:9200/test/?pretty=1' -d '
> {
> "mappings" : {
> … "document" : {
> "properties" : {
> "title\_cn" : {
> "index" : "no",
> "type" : "string"
> }
> }
> }
> }
> }
> '
> 
> curl -XPOST 'http://127.0.0.1:9200/test/document?pretty=1' -d '
> {
> "title\_cn" : "bar"
> }
> '
> 
> curl -XGET 'http://127.0.0.1:9200/test/\_search?pretty=1' -d '
> {
> "query" : {
> "field" : {
> "\_all" : "bar"
> }
> }
> }
> '
> 
> \# \[Sat Jul 2 11:37:01 2011\] Response:
> \# {
> \# "hits" : {
> \# "hits" : \[
> \# {
> \# "\_source" : {
> \# "title\_cn" : "bar"
> \# },
> \# "\_score" : 0.13561106,
> \# "\_index" : "test",
> \# "\_id" : "Zshx\_UXmRVWkaHYHP3\_PDw",
> \# "\_type" : "document"
> \# }
> \# \],
> \# "max\_score" : 0.13561106,
> \# "total" : 1
> \# },
> \# "timed\_out" : false,
> \# "\_shards" : {
> \# "failed" : 0,
> \# "successful" : 5,
> \# "total" : 5
> \# },
> \# "took" : 2
> \# }
> \`\`\`

clint

> On Wed, Aug 17, 2011 at 12:47 PM, hamazasp.avetisyan  
> [hamazasp.avetisyan@gmail.com](mailto:hamazasp.avetisyan@gmail.com) wrote:  
> Hi,  
> I'm using dynamic mapping for indexing. Above you can see PHP  
> structure of data.
> 
> ```
> array("mailing_index" =>
> array("properties" =>
> array(
> "f_id" =>
> array("type" =>
> "long"),
> "f_from" =>
> array("type" =>
> "string",
> "index" => "analyzed", "analyzer" => "default"),
> "f_subject" =>
> array("type" =>
> "string",
> "index" => "not_analyzed"),
> "f_body" =>
> array("type" =>
> "string",
> "index" => "analyzed", "analyzer" => "default"),
> "f_reply_to" =>
> array("type" =>
> "string",
> "index" => "no"),
> "f_type" =>
> array("type" =>
> "string",
> "index" => "not_analyzed"),
> "f_status" =>
> array("type" =>
> "integer",
> "index" => "no"),
> "f_datetime" =>
> array("type" => "long",
> "index" => "not_analyzed"),
> "f_userid" =>
> array("type" => "long",
> "index" => "not_analyzed"),
> )
> )
> )
>     
> As you can see "f_reply_to" field marked as "index" => "no".
> But I am
> able to perform search by this field. In documentation of
> elastic
> search we can find a line " "index:no" means that it wonât be
> searchable at all". Used the 0.17.6 version of elasticsearch.
> Same
> behavior for 0.17.0.
>     
> Maybe I'm doing something wrong, please help me to understand
> the
> situation.
>     
> //////////////////////// config file
> content //////////////////////////////////
> node :
> data : true
> gateway :
> type : fs
> index :
> analysis :
> analyzer :
> default :
> type : custom
> tokenizer : standard
> filter : [standard, lowercase, porterStem,
> stop]
>     
>     
> network.publish_host: 127.0.0.1
> network.bind_host: 127.0.0.1
> network.host: 127.0.0.1
>     
> node.data: true # Default
>     
> http.port: 9200 # Default
>     
> cluster.name: "TestCluster"
>     
> //////////////////////// end of config file
> content ////////////////////////////////
>     
> Thanks in advance
> H. Avetsyan
> 
> ```

---

<div class="post-metadata">

### Author: ![hamazasp\_avetisyan](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@hamazasp\_avetisyan](https://discuss.elastic.co/u/hamazasp_avetisyan)
#### Post date: [August 22, 2011, 6:02am UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183/9 "2011-08-22T06:02:19Z")

</div>

Hi Shay!

Below you can see the flow that I am passing through.

curl -XDELETE '[http://localhost:9200/test](http://localhost:9200/test)'

curl -XPUT '[http://localhost:9200/test](http://localhost:9200/test)'

curl -XPUT "[http://localhost:9200/test/type1/\_mapping](http://localhost:9200/test/type1/_mapping)" -d '{ "type1" :  
{ "properties" : { "field1" : {"type" : "string", "index" : "no"},  
"field2" : {"type" : "string", "index" : "analyzed"} } } }'

curl -XPUT '[http://localhost:9200/test/type1/1](http://localhost:9200/test/type1/1)' -d '{ field1: "edo1",  
field2: "aaa" }'  
curl -XPUT '[http://localhost:9200/test/type1/2](http://localhost:9200/test/type1/2)' -d '{ field1: "edo2",  
field2: "bbb" }'  
curl -XPUT '[http://localhost:9200/test/type1/3](http://localhost:9200/test/type1/3)' -d '{ field1: "edo3",  
field2: "ccc" }'

curl -XGET 127.0.0.1:9200/test/\_search -d '{"query":{"query\_string":  
{"query":"edo1"}}}'

The last search line returns the first document, but it has type  
"filed1" that created as "index":"no". This is the actual problem.

On Aug 18, 5:09 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> What I meant is what type of query do you execute when you say it does not  
> work?
> 
> On Thu, Aug 18, 2011 at 11:20 AM, hamazasp.avetisyan \<
> 
> [hamazasp.avetis...@gmail.com](mailto:hamazasp.avetis...@gmail.com)\> wrote:
> 
> > Hi, thank you for reply!
> 
> > For mapping I am using the following URL
> 
> > host:port/my\_db/mailing\_index/\_mapping
> 
> > As you can see no "\_all" specified
> 
> > For searching I am using the following URL  
> > host:port/TestCluster/mailing\_index/\_search
> 
> > The argument for sort operation contains just a Boolean condition(with  
> > query string), limits and sorting. No "\_all" specified.
> 
> > I've checked the structure of index using get mapping API, everything  
> > is OK (as I specified in argument for mapping).
> 
> > So the issue still exists.
> 
> > Best regards,  
> > H.Avetisyan
> 
> > On Aug 17, 4:42 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> > 
> > > Two things: How do you search for the value? Do you search against the  
> > > specific field? By default, it is added to the \_all field (and its the  
> > > default field being searched on). You can disable it from being added to  
> > > the  
> > > \_all field as well. Also, make sure the mapping you set is actually the  
> > > mapping you identified by elasticsearch, use the get mapping API to check  
> > > it  
> > > out.
> 
> > > On Wed, Aug 17, 2011 at 12:47 PM, hamazasp.avetisyan \<
> 
> > > [hamazasp.avetis...@gmail.com](mailto:hamazasp.avetis...@gmail.com)\> wrote:
> > > 
> > > > Hi,  
> > > > I'm using dynamic mapping for indexing. Above you can see PHP  
> > > > structure of data.
> 
> > > > array("mailing\_index" =\>  
> > > > array("properties" =\>  
> > > > array(  
> > > > "f\_id" =\>  
> > > > array("type" =\> "long"),  
> > > > "f\_from" =\>  
> > > > array("type" =\> "string",  
> > > > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > > > "f\_subject" =\>  
> > > > array("type" =\> "string",  
> > > > "index" =\> "not\_analyzed"),  
> > > > "f\_body" =\>  
> > > > array("type" =\> "string",  
> > > > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > > > "f\_reply\_to" =\>  
> > > > array("type" =\> "string",  
> > > > "index" =\> "no"),  
> > > > "f\_type" =\>  
> > > > array("type" =\> "string",  
> > > > "index" =\> "not\_analyzed"),  
> > > > "f\_status" =\>  
> > > > array("type" =\> "integer",  
> > > > "index" =\> "no"),  
> > > > "f\_datetime" =\>  
> > > > array("type" =\> "long",  
> > > > "index" =\> "not\_analyzed"),  
> > > > "f\_userid" =\>  
> > > > array("type" =\> "long",  
> > > > "index" =\> "not\_analyzed"),  
> > > > )  
> > > > )  
> > > > )
> 
> > > > As you can see "f\_reply\_to" field marked as "index" =\> "no". But I am  
> > > > able to perform search by this field. In documentation of elastic  
> > > > search we can find a line " "index:no" means that it won’t be  
> > > > searchable at all". Used the 0.17.6 version of elasticsearch. Same  
> > > > behavior for 0.17.0.
> 
> > > > Maybe I'm doing something wrong, please help me to understand the  
> > > > situation.
> 
> > > > //////////////////////// config file  
> > > > content //////////////////////////////////  
> > > > node :  
> > > > data : true  
> > > > gateway :  
> > > > type : fs  
> > > > index :  
> > > > analysis :  
> > > > analyzer :  
> > > > default :  
> > > > type : custom  
> > > > tokenizer : standard  
> > > > filter : [standard, lowercase, porterStem, stop]
> 
> > > > network.publish\_host: 127.0.0.1  
> > > > network.bind\_host: 127.0.0.1  
> > > > network.host: 127.0.0.1
> 
> > > > node.data: true # Default
> 
> > > > http.port: 9200 # Default
> 
> > > > cluster.name: "TestCluster"
> 
> > > > //////////////////////// end of config file  
> > > > content ////////////////////////////////
> 
> > > > Thanks in advance  
> > > > H. Avetsyan

---

<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: [August 22, 2011, 7:46am UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183/10 "2011-08-22T07:46:01Z")

</div>

Then you are searching by default on the \_all field, clinton pointed out  
that when setting index : "no", it still gets included in \_all.

On Mon, Aug 22, 2011 at 9:02 AM, hamazasp.avetisyan \<  
[hamazasp.avetisyan@gmail.com](mailto:hamazasp.avetisyan@gmail.com)\> wrote:

> Hi Shay!
> 
> Below you can see the flow that I am passing through.
> 
> curl -XDELETE '[http://localhost:9200/test](http://localhost:9200/test)'
> 
> curl -XPUT '[http://localhost:9200/test](http://localhost:9200/test)'
> 
> curl -XPUT "[http://localhost:9200/test/type1/\_mapping](http://localhost:9200/test/type1/_mapping)" -d '{ "type1" :  
> { "properties" : { "field1" : {"type" : "string", "index" : "no"},  
> "field2" : {"type" : "string", "index" : "analyzed"} } } }'
> 
> curl -XPUT '[http://localhost:9200/test/type1/1](http://localhost:9200/test/type1/1)' -d '{ field1: "edo1",  
> field2: "aaa" }'  
> curl -XPUT '[http://localhost:9200/test/type1/2](http://localhost:9200/test/type1/2)' -d '{ field1: "edo2",  
> field2: "bbb" }'  
> curl -XPUT '[http://localhost:9200/test/type1/3](http://localhost:9200/test/type1/3)' -d '{ field1: "edo3",  
> field2: "ccc" }'
> 
> curl -XGET 127.0.0.1:9200/test/\_search -d '{"query":{"query\_string":  
> {"query":"edo1"}}}'
> 
> The last search line returns the first document, but it has type  
> "filed1" that created as "index":"no". This is the actual problem.
> 
> On Aug 18, 5:09 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> 
> > What I meant is what type of query do you execute when you say it does  
> > not  
> > work?
> > 
> > On Thu, Aug 18, 2011 at 11:20 AM, hamazasp.avetisyan \<
> > 
> > [hamazasp.avetis...@gmail.com](mailto:hamazasp.avetis...@gmail.com)\> wrote:
> > 
> > > Hi, thank you for reply!
> > 
> > > For mapping I am using the following URL
> > 
> > > host:port/my\_db/mailing\_index/\_mapping
> > 
> > > As you can see no "\_all" specified
> > 
> > > For searching I am using the following URL  
> > > host:port/TestCluster/mailing\_index/\_search
> > 
> > > The argument for sort operation contains just a Boolean condition(with  
> > > query string), limits and sorting. No "\_all" specified.
> > 
> > > I've checked the structure of index using get mapping API, everything  
> > > is OK (as I specified in argument for mapping).
> > 
> > > So the issue still exists.
> > 
> > > Best regards,  
> > > H.Avetisyan
> > 
> > > On Aug 17, 4:42 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> > > 
> > > > Two things: How do you search for the value? Do you search against  
> > > > the  
> > > > specific field? By default, it is added to the \_all field (and its  
> > > > the  
> > > > default field being searched on). You can disable it from being added  
> > > > to  
> > > > the  
> > > > \_all field as well. Also, make sure the mapping you set is actually  
> > > > the  
> > > > mapping you identified by elasticsearch, use the get mapping API to  
> > > > check  
> > > > it  
> > > > out.
> > 
> > > > On Wed, Aug 17, 2011 at 12:47 PM, hamazasp.avetisyan \<
> > 
> > > > [hamazasp.avetis...@gmail.com](mailto:hamazasp.avetis...@gmail.com)\> wrote:
> > > > 
> > > > > Hi,  
> > > > > I'm using dynamic mapping for indexing. Above you can see PHP  
> > > > > structure of data.
> > 
> > > > > array("mailing\_index" =\>  
> > > > > array("properties" =\>  
> > > > > array(  
> > > > > "f\_id" =\>  
> > > > > array("type" =\> "long"),  
> > > > > "f\_from" =\>  
> > > > > array("type" =\> "string",  
> > > > > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > > > > "f\_subject" =\>  
> > > > > array("type" =\> "string",  
> > > > > "index" =\> "not\_analyzed"),  
> > > > > "f\_body" =\>  
> > > > > array("type" =\> "string",  
> > > > > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > > > > "f\_reply\_to" =\>  
> > > > > array("type" =\> "string",  
> > > > > "index" =\> "no"),  
> > > > > "f\_type" =\>  
> > > > > array("type" =\> "string",  
> > > > > "index" =\> "not\_analyzed"),  
> > > > > "f\_status" =\>  
> > > > > array("type" =\> "integer",  
> > > > > "index" =\> "no"),  
> > > > > "f\_datetime" =\>  
> > > > > array("type" =\> "long",  
> > > > > "index" =\> "not\_analyzed"),  
> > > > > "f\_userid" =\>  
> > > > > array("type" =\> "long",  
> > > > > "index" =\> "not\_analyzed"),  
> > > > > )  
> > > > > )  
> > > > > )
> > 
> > > > > As you can see "f\_reply\_to" field marked as "index" =\> "no". But I  
> > > > > am  
> > > > > able to perform search by this field. In documentation of elastic  
> > > > > search we can find a line " "index:no" means that it won’t be  
> > > > > searchable at all". Used the 0.17.6 version of elasticsearch. Same  
> > > > > behavior for 0.17.0.
> > 
> > > > > Maybe I'm doing something wrong, please help me to understand the  
> > > > > situation.
> > 
> > > > > //////////////////////// config file  
> > > > > content //////////////////////////////////  
> > > > > node :  
> > > > > data : true  
> > > > > gateway :  
> > > > > type : fs  
> > > > > index :  
> > > > > analysis :  
> > > > > analyzer :  
> > > > > default :  
> > > > > type : custom  
> > > > > tokenizer : standard  
> > > > > filter : [standard, lowercase, porterStem, stop]
> > 
> > > > > network.publish\_host: 127.0.0.1  
> > > > > network.bind\_host: 127.0.0.1  
> > > > > network.host: 127.0.0.1
> > 
> > > > > node.data: true # Default
> > 
> > > > > http.port: 9200 # Default
> > 
> > > > > cluster.name: "TestCluster"
> > 
> > > > > //////////////////////// end of config file  
> > > > > content ////////////////////////////////
> > 
> > > > > Thanks in advance  
> > > > > H. Avetsyan

---

<div class="post-metadata">

### Author: ![hamazasp\_avetisyan](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@hamazasp\_avetisyan](https://discuss.elastic.co/u/hamazasp_avetisyan)
#### Post date: [August 22, 2011, 8:44am UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183/11 "2011-08-22T08:44:57Z")

</div>

Thank you !! It works !!

On Aug 22, 12:46 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> Then you are searching by default on the \_all field, clinton pointed out  
> that when setting index : "no", it still gets included in \_all.
> 
> On Mon, Aug 22, 2011 at 9:02 AM, hamazasp.avetisyan \<
> 
> [hamazasp.avetis...@gmail.com](mailto:hamazasp.avetis...@gmail.com)\> wrote:
> 
> > Hi Shay!
> 
> > Below you can see the flow that I am passing through.
> 
> > curl -XDELETE '[http://localhost:9200/test](http://localhost:9200/test)'
> 
> > curl -XPUT '[http://localhost:9200/test](http://localhost:9200/test)'
> 
> > curl -XPUT "[http://localhost:9200/test/type1/\_mapping](http://localhost:9200/test/type1/_mapping)" -d '{ "type1" :  
> > { "properties" : { "field1" : {"type" : "string", "index" : "no"},  
> > "field2" : {"type" : "string", "index" : "analyzed"} } } }'
> 
> > curl -XPUT '[http://localhost:9200/test/type1/1'-d](http://localhost:9200/test/type1/1'-d) '{ field1: "edo1",  
> > field2: "aaa" }'  
> > curl -XPUT '[http://localhost:9200/test/type1/2'-d](http://localhost:9200/test/type1/2'-d) '{ field1: "edo2",  
> > field2: "bbb" }'  
> > curl -XPUT '[http://localhost:9200/test/type1/3'-d](http://localhost:9200/test/type1/3'-d) '{ field1: "edo3",  
> > field2: "ccc" }'
> 
> > curl -XGET 127.0.0.1:9200/test/\_search -d '{"query":{"query\_string":  
> > {"query":"edo1"}}}'
> 
> > The last search line returns the first document, but it has type  
> > "filed1" that created as "index":"no". This is the actual problem.
> 
> > On Aug 18, 5:09 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> > 
> > > What I meant is what type of query do you execute when you say it does  
> > > not  
> > > work?
> 
> > > On Thu, Aug 18, 2011 at 11:20 AM, hamazasp.avetisyan \<
> 
> > > [hamazasp.avetis...@gmail.com](mailto:hamazasp.avetis...@gmail.com)\> wrote:
> > > 
> > > > Hi, thank you for reply!
> 
> > > > For mapping I am using the following URL
> 
> > > > host:port/my\_db/mailing\_index/\_mapping
> 
> > > > As you can see no "\_all" specified
> 
> > > > For searching I am using the following URL  
> > > > host:port/TestCluster/mailing\_index/\_search
> 
> > > > The argument for sort operation contains just a Boolean condition(with  
> > > > query string), limits and sorting. No "\_all" specified.
> 
> > > > I've checked the structure of index using get mapping API, everything  
> > > > is OK (as I specified in argument for mapping).
> 
> > > > So the issue still exists.
> 
> > > > Best regards,  
> > > > H.Avetisyan
> 
> > > > On Aug 17, 4:42 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> > > > 
> > > > > Two things: How do you search for the value? Do you search against  
> > > > > the  
> > > > > specific field? By default, it is added to the \_all field (and its  
> > > > > the  
> > > > > default field being searched on). You can disable it from being added  
> > > > > to  
> > > > > the  
> > > > > \_all field as well. Also, make sure the mapping you set is actually  
> > > > > the  
> > > > > mapping you identified by elasticsearch, use the get mapping API to  
> > > > > check  
> > > > > it  
> > > > > out.
> 
> > > > > On Wed, Aug 17, 2011 at 12:47 PM, hamazasp.avetisyan \<
> 
> > > > > [hamazasp.avetis...@gmail.com](mailto:hamazasp.avetis...@gmail.com)\> wrote:
> > > > > 
> > > > > > Hi,  
> > > > > > I'm using dynamic mapping for indexing. Above you can see PHP  
> > > > > > structure of data.
> 
> > > > > > array("mailing\_index" =\>  
> > > > > > array("properties" =\>  
> > > > > > array(  
> > > > > > "f\_id" =\>  
> > > > > > array("type" =\> "long"),  
> > > > > > "f\_from" =\>  
> > > > > > array("type" =\> "string",  
> > > > > > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > > > > > "f\_subject" =\>  
> > > > > > array("type" =\> "string",  
> > > > > > "index" =\> "not\_analyzed"),  
> > > > > > "f\_body" =\>  
> > > > > > array("type" =\> "string",  
> > > > > > "index" =\> "analyzed", "analyzer" =\> "default"),  
> > > > > > "f\_reply\_to" =\>  
> > > > > > array("type" =\> "string",  
> > > > > > "index" =\> "no"),  
> > > > > > "f\_type" =\>  
> > > > > > array("type" =\> "string",  
> > > > > > "index" =\> "not\_analyzed"),  
> > > > > > "f\_status" =\>  
> > > > > > array("type" =\> "integer",  
> > > > > > "index" =\> "no"),  
> > > > > > "f\_datetime" =\>  
> > > > > > array("type" =\> "long",  
> > > > > > "index" =\> "not\_analyzed"),  
> > > > > > "f\_userid" =\>  
> > > > > > array("type" =\> "long",  
> > > > > > "index" =\> "not\_analyzed"),  
> > > > > > )  
> > > > > > )  
> > > > > > )
> 
> > > > > > As you can see "f\_reply\_to" field marked as "index" =\> "no". But I  
> > > > > > am  
> > > > > > able to perform search by this field. In documentation of elastic  
> > > > > > search we can find a line " "index:no" means that it won’t be  
> > > > > > searchable at all". Used the 0.17.6 version of elasticsearch. Same  
> > > > > > behavior for 0.17.0.
> 
> > > > > > Maybe I'm doing something wrong, please help me to understand the  
> > > > > > situation.
> 
> > > > > > //////////////////////// config file  
> > > > > > content //////////////////////////////////  
> > > > > > node :  
> > > > > > data : true  
> > > > > > gateway :  
> > > > > > type : fs  
> > > > > > index :  
> > > > > > analysis :  
> > > > > > analyzer :  
> > > > > > default :  
> > > > > > type : custom  
> > > > > > tokenizer : standard  
> > > > > > filter : [standard, lowercase, porterStem, stop]
> 
> > > > > > network.publish\_host: 127.0.0.1  
> > > > > > network.bind\_host: 127.0.0.1  
> > > > > > network.host: 127.0.0.1
> 
> > > > > > node.data: true # Default
> 
> > > > > > http.port: 9200 # Default
> 
> > > > > > cluster.name: "TestCluster"
> 
> > > > > > //////////////////////// end of config file  
> > > > > > content ////////////////////////////////
> 
> > > > > > Thanks in advance  
> > > > > > H. Avetsyan

---

<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, 3:56am UTC](https://discuss.elastic.co/t/index-no-does-not-work/5183/12 "2017-07-06T03:56:25Z")

</div>


