Hi,
It looks like brand_s is defined as string, which is not tokenized. Please do one of the following to retrieve "brand_s":"ibm hp" a) use a tokenized field type or b) issue a wildcard query of q=ibm* Ahmet On Friday, May 6, 2016 8:35 AM, 梦在远方 <chinaman...@qq.com> wrote: Hi, all I do a query by solr admin UI ,but the response is not what i desired! My operations follows! first step: get all data. http://127.0.0.1:8080/solr/example/select?q=*%3A*&wt=json&indent=true response follows: "response": { "numFound": 5, "start": 0, "docs": [ { "id": "1", "goods_name_s": "cpu1", "brand_s": "amd", "_version_": 1533546720443498500 }, { "id": "2", "goods_name_s": "cpu2", "brand_s": "ibm",// there is a 'ibm' "_version_": 1533546730775117800 }, { "id": "3", "goods_name_s": "cpu3", "brand_s": "intel", "_version_": 1533546741316452400 }, { "id": "4", "goods_name_s": "cpu4", "brand_s": "other", "_version_": 1533546750936088600 }, { "id": "5", "goods_name_s": "cpu5", "brand_s": "ibm hp",//there is a 'ibm' "_version_": 1533548604687384600 } ] second step: query the record which 'brand_s' contain 'ibm'. http://127.0.0.1:8080/solr/example/select?q=brand_s%3Aibm&wt=json&indent=true "response": { "numFound": 1, "start": 0, "docs": [ { "id": "2", "goods_name_s": "cpu2", "brand_s": "ibm", "_version_": 1533546730775117800 } ] } my question is why there is only one doc found? There are two Docs which contains 'ibm' in all docs.