> For example, if I have the following field: > > <field name="dog" type="string" indexed="true" > stored="true"/> > > and it has docs that contain something like > > <str name="dog">english bulldog</str> > <str name="dog">french bulldog</str> > <str name="dog">bichon frise</str> > > If I search for "english bulldog" and facet on "dog", I > will get the > following: > > <int name="english bulldog">135</int> > <int name="french bulldog">23</int> > <int name="bichon frise">12</int>
Thats strange. The query "english bulldog" should return only <str name="dog">english bulldog</str> since type of dog is string which is not tokenized. What is your default search field defined in schema.xml? Can you try &q=dog:"english bulldog"&facet=true&facet.field=dog&facet.mincount=1