I have used solr4.7 and I have multiple record in DB , I have search successfully for case sensitive data that is lowercase. 

I have lots of try to solve this , I am very tired,

my one of the code is schema.xml file code as below

```
<schema name="springExample" version="1.5">
<fields>
    <field name="name" type="text_general" indexed="true" stored="true" required="true" />
</fields>
<types>
        <fieldType name="text_general" class="solr.TextField" positionIncrementGap="100">

            <analyzer type="index">
                <tokenizer class="solr.WhitespaceTokenizerFactory" />
                <filter class="solr.LowerCaseFilterFactory" />
            </analyzer>
            <analyzer type="query">
                <tokenizer class="solr.WhitespaceTokenizerFactory" />
                <filter class="solr.LowerCaseFilterFactory" />
            </analyzer>
     </fieldType>
</types>

```

and also configure the config.xml file for dataSource and document.

```
<dataConfig>
    <dataSource driver="com.mysql.jdbc.Driver"
        url="jdbc:mysql://localhost:3306/koupon"
        user="root"
        password="root" />
    <document>
        <entity name="koupon" 
            query="SELECT name FROM koupon;">
                <field column="name" name="name"/>
        </entity>
    </document>
</dataConfig>

```

and java code for Fetching Specific data like that 

```
solrParams = new ModifiableSolrParams();
solrParams.add("q","name:TE*");
solrParams.add("wt","json");
solrParams.add("indent","true");
queryResponse = server.query(solrParams);
solrParams.clear();

System.out.println(queryResponse.getResults());

and I am searching for 'name' field like 

```

Testing Category,Testing, TEst.

How can I solve this?