# Elastic search issues

**URL:** https://discuss.elastic.co/t/elastic-search-issues/3661
**Category:** Elasticsearch
**Created:** [December 14, 2010, 1:27pm UTC](https://discuss.elastic.co/t/elastic-search-issues/3661 "2010-12-14T13:27:51Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Arulkumar](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Arulkumar](https://discuss.elastic.co/u/Arulkumar)
#### Post date: [December 14, 2010, 1:27pm UTC](https://discuss.elastic.co/t/elastic-search-issues/3661/1 "2010-12-14T13:27:51Z")

</div>

Hi ,  
Please help me for my problems.

```
    I have three question. Please help me...

    1. In Elastic search "highlight" not working for fuzzy search

```

but for other search type highlight working fine. Do i need to do  
anything specific for fuzzy search...?

```
    2. I am using the command "_close and _open for attach and

```

detach an index" in elastic search. While closing the index using its  
working fine but after open an index(\_open) , i can't able to get  
records.

```
    3. How to backup and restore an index in elastic search?
```

---

<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: [December 14, 2010, 1:41pm UTC](https://discuss.elastic.co/t/elastic-search-issues/3661/2 "2010-12-14T13:41:52Z")

</div>

Hi Arulkumar

> ```
> 1. In Elastic search "highlight" not working for fuzzy search
> 
> ```
> 
> but for other search type highlight working fine. Do i need to do  
> anything specific for fuzzy search...?
> 
> ```
> 2. I am using the command "_close and _open for attach and
> 
> ```
> 
> detach an index" in Elasticsearch. While closing the index using its  
> working fine but after open an index(\_open) , i can't able to get  
> records.

Please provide a curl example showing what you are doing - that way we  
can help you.

> ```
> 3. How to backup and restore an index in elastic search?
> 
> ```

Depends on what gateway you are using. Provide more information about  
your setup?

thanks

Clint

---

<div class="post-metadata">

### Author: ![Arulkumar](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Arulkumar](https://discuss.elastic.co/u/Arulkumar)
#### Post date: [December 14, 2010, 1:56pm UTC](https://discuss.elastic.co/t/elastic-search-issues/3661/3 "2010-12-14T13:56:33Z")

</div>

Thanks for your quick response clinton.

Please provide a curl example showing what you are doing ?

I am using below commands in curl for open and close an index.

```
      curl -XPOST 'http://localserver:9200/db1/_close'

      curl -XPOST 'http://localserver:9200/db1/_open'

 another question here is what is the internal process going here

```

while open/close index?

Depends on what gateway you are using. Provide more information about  
your setup?

gateway:  
type: fs  
fs:  
location: D:\elasticsearch-13 BackUp  
cluster:  
name: Cluster1

this is the gateway configuration i am using..... and Elasticsearch  
version is 0.13.1

Please help us to move forward....

On Dec 14, 6:41 pm, Clinton Gormley [clin...@iannounce.co.uk](mailto:clin...@iannounce.co.uk) wrote:

> Hi Arulkumar
> 
> > ```
> > 1. In Elastic search "highlight" not working for fuzzy search
> > 
> > ```
> > 
> > but for other search type highlight working fine. Do i need to do  
> > anything specific for fuzzy search...?
> 
> > ```
> > 2. I am using the command "_close and _open for attach and
> > 
> > ```
> > 
> > detach an index" in Elasticsearch. While closing the index using its  
> > working fine but after open an index(\_open) , i can't able to get  
> > records.
> 
> Please provide a curl example showing what you are doing - that way we  
> can help you.
> 
> > ```
> > 3. How to backup and restore an index in elastic search?
> > 
> > ```
> 
> Depends on what gateway you are using. Provide more information about  
> your setup?
> 
> thanks
> 
> Clint

---

<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: [December 14, 2010, 2:09pm UTC](https://discuss.elastic.co/t/elastic-search-issues/3661/4 "2010-12-14T14:09:29Z")

</div>

> Please provide a curl example showing what you are doing ?
> 
> I am using below commands in curl for open and close an index.
> 
> ```
> curl -XPOST 'http://localserver:9200/db1/_close'
> 
> curl -XPOST 'http://localserver:9200/db1/_open'
> 
> ```

You don't say if there is anything in the log, but you may be running  
into this bug, which has been fixed in master:

[http://groups.google.com/a/elasticsearch.com/group/users/browse\_thread/thread/6d6a823345f9f1f4#](http://groups.google.com/a/elasticsearch.com/group/users/browse_thread/thread/6d6a823345f9f1f4#)

> ```
> another question here is what is the internal process going here
> 
> ```
> 
> while open/close index?

ES keeps the metadata for the closed indices in memory, but doesn't open  
the lucene indices, until you call \_open.

> gateway:  
> type: fs  
> fs:  
> location: D:\elasticsearch-13 BackUp  
> cluster:  
> name: Cluster1

In that case you can just tar/zip up the contents of  
D:\elasticsearch-13 BackUp

In order to restore it, you would need to shutdown your cluster, unpack  
the tar/zip file, move the contents of your backup to your  
gateway.fs.location and start the cluster up again.

clint

---

<div class="post-metadata">

### Author: ![Arulkumar](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Arulkumar](https://discuss.elastic.co/u/Arulkumar)
#### Post date: [December 14, 2010, 2:52pm UTC](https://discuss.elastic.co/t/elastic-search-issues/3661/5 "2010-12-14T14:52:36Z")

</div>

Another three question here i need to clarify with you clinton. Please  
help me....

1.Is it possible to backup and restore a single index? Is there any  
option to backup and restore per index?

1. In Elastic search "highlight" not working for fuzzy search but  
for other search type highlight working fine. Do i need to do  
anything specific for fuzzy search...?

2. In Elasticsearch index i have a field named path and its values  
are listed below....?

How can i find the exact path using search in Elasticsearch....

On Dec 14, 7:09 pm, Clinton Gormley [clin...@iannounce.co.uk](mailto:clin...@iannounce.co.uk) wrote:

> > Please provide a curl example showing what you are doing ?
> 
> > I am using below commands in curl for open and close an index.
> 
> > ```
> > curl -XPOST 'http://localserver:9200/db1/_close'
> > 
> > ```
> 
> > ```
> > curl -XPOST 'http://localserver:9200/db1/_open'
> > 
> > ```
> 
> You don't say if there is anything in the log, but you may be running  
> into this bug, which has been fixed in master:
> 
> [http://groups.google.com/a/elasticsearch.com/group/users/browse\_threa](http://groups.google.com/a/elasticsearch.com/group/users/browse_threa)...
> 
> > ```
> > another question here is what is the internal process going here
> > 
> > ```
> > 
> > while open/close index?
> 
> ES keeps the metadata for the closed indices in memory, but doesn't open  
> the lucene indices, until you call \_open.
> 
> > gateway:  
> > type: fs  
> > fs:  
> > location: D:\elasticsearch-13 BackUp  
> > cluster:  
> > name: Cluster1
> 
> In that case you can just tar/zip up the contents of  
> D:\elasticsearch-13 BackUp
> 
> In order to restore it, you would need to shutdown your cluster, unpack  
> the tar/zip file, move the contents of your backup to your  
> gateway.fs.location and start the cluster up again.
> 
> clint

---

<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: [December 14, 2010, 2:59pm UTC](https://discuss.elastic.co/t/elastic-search-issues/3661/6 "2010-12-14T14:59:26Z")

</div>

Hi

> 1.Is it possible to backup and restore a single index? Is there any  
> option to backup and restore per index?

No

> 1. In Elastic search "highlight" not working for fuzzy search but  
> for other search type highlight working fine. Do i need to do  
> anything specific for fuzzy search...?

I don't know. Provide a curl recreation (showing how you create the  
index, index the data, and search for the data)

> 1. In Elasticsearch index i have a field named path and its values  
> are listed below....?
> 
> How can i find the exact path using search in Elasticsearch....

read the recent posts about Strategy For Limiting Search To "Folder  
Path" on the list - it discusses this issue.

clint

---

<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:15am UTC](https://discuss.elastic.co/t/elastic-search-issues/3661/7 "2017-07-06T04:15:20Z")

</div>


