Hi Binh,
The search analyzer is assigned in the schema. So in theory, it can find
the document, right?
So do you mean the search analyzer cannot be applied automatically in this
case ? But I had make sure some other case will do apply the search
analyzer.
cheers,
Ivan
Binh Ly於 2014年3月27日星期四UTC+8下午9時34分39秒寫道:
>
> The term query is really what you want, but if you need the query_string
> query, you can always override the search analyzer at query time:
>
> {
> "query": {
> "query_string": {
> "query": "id:\\/Users\\/jason\\/Documents\\/nose\\/DS_Store",
> "analyzer": "<your_index_analyzer_name>"
> }
> }
> }
>
--
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/047a9c18-f166-4268-9af8-e3642bc0c598%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.