# How to use the custom analyzer to split the following product information

**URL:** <https://discuss.elastic.co/t/how-to-use-the-custom-analyzer-to-split-the-following-product-information/149978>\
**Category:** Elasticsearch\
**Created:** [September 26, 2018, 10:13am UTC](https://discuss.elastic.co/t/how-to-use-the-custom-analyzer-to-split-the-following-product-information/149978 "2018-09-26T10:13:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhen\_Zhang](https://avatars.discourse-cdn.com/v4/letter/z/2acd7d/32.png) [@Zhen\_Zhang](https://discuss.elastic.co/u/Zhen_Zhang)\
**Post date:** [September 26, 2018, 10:13am UTC](https://discuss.elastic.co/t/how-to-use-the-custom-analyzer-to-split-the-following-product-information/149978/1 "2018-09-26T10:13:57Z")

</div>

According to the product condition + time condition, query the qualified customer information, the data format is as follows,For example, if you enter A product +2018010, you should query 1 data. If you only enter the time, then all of them match. How should my analyzer be defined?  
 ![1](https://us1.discourse-cdn.com/elastic/original/3X/9/9/9986072d08da700b7be54b71dbbf714cdfa93cef.png)

---

<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:** [October 24, 2018, 10:13am UTC](https://discuss.elastic.co/t/how-to-use-the-custom-analyzer-to-split-the-following-product-information/149978/2 "2018-10-24T10:13:58Z")

</div>

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