# The index time partifier is different from the word breaker of the query time partifier

**URL:** https://discuss.elastic.co/t/the-index-time-partifier-is-different-from-the-word-breaker-of-the-query-time-partifier/159524
**Category:** Elasticsearch
**Created:** [December 5, 2018, 12:07pm UTC](https://discuss.elastic.co/t/the-index-time-partifier-is-different-from-the-word-breaker-of-the-query-time-partifier/159524 "2018-12-05T12:07:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Walkers](https://avatars.discourse-cdn.com/v4/letter/w/c77e96/32.png) [@Walkers](https://discuss.elastic.co/u/Walkers)
#### Post date: [December 5, 2018, 12:07pm UTC](https://discuss.elastic.co/t/the-index-time-partifier-is-different-from-the-word-breaker-of-the-query-time-partifier/159524/1 "2018-12-05T12:07:01Z")

</div>

when we excute this search, we can't found anything  
GET rsearch/\_search  
{  
"query": {  
"bool": {  
"must": [  
{  
"multi\_match": {  
"query": "CoreALM智慧云",  
"fields": ["title"],  
"minimum\_should\_match": "100%"  
}  
}  
],  
"filter": {  
"term": {  
"from": "CoreALM"  
}  
}  
}  
},  
"explain": true  
}  
But when we reduce the minimum\_should\_match to 50%,  
we can search the document which title is "【Story】CoreALM智慧云搜索:" then we find the score  
only the word"CoreALM" have score like this, we have't get the score of the word "智慧云"  
"description": "weight(title:corealm in 2404989) [PerFieldSimilarity],

\<1\>  
I defined title in the mapping as that: al\_sysnonym is based on query\_ansj;  
"title": {  
"type": "text",  
"fields": {  
"keyword": {  
"type": "keyword",  
"ignore\_above": 256  
}  
},  
"analyzer": "index\_ansj",  
"search\_analyzer": "al\_synonym"  
}  
\<2\>  
i use the index\_ansj for the keyword:"CoreALM智慧云" to get the index-vector  
{  
"tokens": [  
{  
"token": "corealm",  
"start\_offset": 0,  
"end\_offset": 7,  
"type": "en",  
"position": 0  
},  
{  
"token": "智慧云",  
"start\_offset": 7,  
"end\_offset": 10,  
"type": "userDefine",  
"position": 1  
},  
{  
"token": "智慧",  
"start\_offset": 7,  
"end\_offset": 9,  
"type": "userDefine",  
"position": 2  
}  
]  
}  
\<3\> when i used the search-analyzer on the keyword:"CoreALM智慧云", we get:  
{  
"tokens": [  
{  
"token": "corealm",  
"start\_offset": 0,  
"end\_offset": 7,  
"type": "en",  
"position": 0  
},  
{  
"token": "智慧云",  
"start\_offset": 7,  
"end\_offset": 10,  
"type": "userDefine",  
"position": 1  
},  
{  
"token": "研发智慧云",  
"start\_offset": 7,  
"end\_offset": 10,  
"type": "SYNONYM",  
"position": 1  
},  
{  
"token": "athena",  
"start\_offset": 7,  
"end\_offset": 10,  
"type": "SYNONYM",  
"position": 1  
}  
]  
}

---

<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: [January 2, 2019, 12:07pm UTC](https://discuss.elastic.co/t/the-index-time-partifier-is-different-from-the-word-breaker-of-the-query-time-partifier/159524/2 "2019-01-02T12:07:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
