Hello, this is my code when I index ( I use this because I want to make a 
search inside a document (on this content))

*PUT test*

*PUT test/my_type/_mapping*
*{*
*    "my_type" : {*
*        "properties" : {*
*            "my_file" : {*
*                "type" : "attachment",*
*                "fields" : {*
*                    "my_file" : { "term_vector":"with_positions_offsets"}*
*                }*
*            }*
*        }*
*    }*
*}*


I open my doc, I convert it in base64 and I index it.

*PUT test/my_type/1*
*{*
*   "my_file" : "my file in base64",*
*   "name": "the name of file"*
    
*}*

And I search :

*GET test/my_etape/_search?pretty=true*
*{"size": 50,*
*"query": {*
*    "query_string": {*
       
*       "query": "my keywords"*
       
*    }*
*    },"highlight": {"fields": {"my_file":{"**term_vector**" : "*
*with_positions_offsets**"}*
*}*
*}*
*}*

I don't understand why my cluster turn yellow ?
Have you an explanation for me or an other way to do this, please ?

Thank to you in advance.


-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/c7ec2914-0498-414d-96a1-ccffeff93148%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to