Elastic search issues

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?

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

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

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#

 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

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

    C:\Users\sample\data\test files
    C:\Users\sample\data\test files\sample data\sample\

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

On Dec 14, 7:09 pm, Clinton Gormley 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...

 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

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

    C:\Users\sample\data\test files
    C:\Users\sample\data\test files\sample data\sample\

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