Query- or index-time synonym expansion

Can somebody point me to Query time synonym expansion mapping and
index-time synonym expansion mapping .

My mapping is as below

{
"settings": {
"analysis": {
"analyzer": {
"synonym": {
"tokenizer": "whitespace",
"filter": [
"standard",
"lowercase",
"syns_filter"
]
}
},
"filter": {
"syns_filter": {
"synonyms_path": "synonyms/synonym_country.txt",
"type": "synonym"
}
}
}
},
"mappings": {
"hometwo": {
"properties": {
"name": {
"type": "string",
"analyzer": "synonym"
}
}
}
}
}

how to know it is query time analyzer or index time analyzer.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/fd5b3726-cd96-4d61-8f8f-3b3a4d823c48%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

If you use the "analyzer" parameter, then it will be used at both indexing
and query time. You can specify the specific analyzers via index_analyzer
and search_analyzer

--
Ivan

On Wed, Dec 11, 2013 at 1:52 AM, paul avinashpaul85@gmail.com wrote:

Can somebody point me to Query time synonym expansion mapping and
index-time synonym expansion mapping .

My mapping is as below

{
"settings": {
"analysis": {
"analyzer": {
"synonym": {
"tokenizer": "whitespace",
"filter": [
"standard",
"lowercase",
"syns_filter"
]
}
},
"filter": {
"syns_filter": {
"synonyms_path": "synonyms/synonym_country.txt",
"type": "synonym"
}
}
}
},
"mappings": {
"hometwo": {
"properties": {
"name": {
"type": "string",
"analyzer": "synonym"
}
}
}
}
}

how to know it is query time analyzer or index time analyzer.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/fd5b3726-cd96-4d61-8f8f-3b3a4d823c48%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQBc17iXRB6P%3DrVhnNqo5gsEufb5ciAAO7sRFdjCeoRoaw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Thank you for the clarification , will read through the link.

-paul

On Thu, Dec 12, 2013 at 4:36 AM, Ivan Brusic ivan@brusic.com wrote:

If you use the "analyzer" parameter, then it will be used at both indexing
and query time. You can specify the specific analyzers via index_analyzer
and search_analyzer

Elasticsearch Platform — Find real-time answers at scale | Elastic

--
Ivan

On Wed, Dec 11, 2013 at 1:52 AM, paul avinashpaul85@gmail.com wrote:

Can somebody point me to Query time synonym expansion mapping and
index-time synonym expansion mapping .

My mapping is as below

{
"settings": {
"analysis": {
"analyzer": {
"synonym": {
"tokenizer": "whitespace",
"filter": [
"standard",
"lowercase",
"syns_filter"
]
}
},
"filter": {
"syns_filter": {
"synonyms_path": "synonyms/synonym_country.txt",
"type": "synonym"
}
}
}
},
"mappings": {
"hometwo": {
"properties": {
"name": {
"type": "string",
"analyzer": "synonym"
}
}
}
}
}

how to know it is query time analyzer or index time analyzer.

--
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 elasticsearch+unsubscribe@googlegroups.com.

To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/fd5b3726-cd96-4d61-8f8f-3b3a4d823c48%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/o1yaa0KoWX8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQBc17iXRB6P%3DrVhnNqo5gsEufb5ciAAO7sRFdjCeoRoaw%40mail.gmail.com
.

For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAO066G00pCxxi4jn_84UE974gXD0R9XK7RYMqjwOKx_CKG3zcw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.