Hello, I have a collection containing a field called text defined as below in the schema.xml file: <field name="text" type="string" indexed="true" stored="true"/> <fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
Here is an example of text: "pam_unix(cron:session): session closed for user root" I want to know the number of documents containing the expression "session closed". Below the request I use and which returns 0 documents: http://10.1.1.1:8983/solr/collection/select?q=*:*&wt=json&rows=0&indent=true &facet.threads=-1&json.facet={"column0":{"type":"query","q":"text:*session\% 20closed*"}} But I am sure I have matching documents because the following request returns 184 documents: http://10.1.1.1:8983/solr/collection/select?q=text:*session%5C%20closed*&wt= json&rows=50&indent=true Any idea? Thanks Bertrand