I am using solr for querying of fields with single characters and wild card searching.
For example I am looking to return an object that has names like "A", "AA", "AB", "BZ^A", "AAB"
.
If I create a query of q=name:a&sort=name+asc
I get an unexpected result of "A", "BZ^A", "AA"
and so on.
Ive also tried q=name:a*
and the result set is the same.
Is there a way to get the expect sorted result of "A", "AA", "AAB", "AB", "BZ^A"
?
Here is my field type/name information from the xml file.
<schema name="solr_quickstart" version="1.1">
<types>
<fieldType name="text" class="solr.TextField">
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory" />
<filter class="solr.LowerCaseFilterFactory" />
</analyzer>
</fieldType>
</types>
<fields>
<field name="name" type="text" indexed="true" stored="true" />
</fields>
<defaultSearchField>name</defaultSearchField>
<uniqueKey>(name)</uniqueKey>
</schema>