Solr拼写检查返回精确匹配的建议,区分大小写

Solr拼写检查返回精确匹配的建议,区分大小写,solr,spell-checking,search-suggestion,Solr,Spell Checking,Search Suggestion,我正在与Solr合作拼写检查。 我使用无模式模式,默认配置是数据驱动的,我索引了一个csv文件,在文件内容中,有一个列国籍,一些列值是Singapore。 然后我查询拼写检查结果 <response> <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">7</int> </lst

我正在与Solr合作拼写检查。 我使用无模式模式,默认配置是数据驱动的,我索引了一个csv文件,在文件内容中,有一个列国籍,一些列值是Singapore。 然后我查询拼写检查结果

<response>
    <lst name="responseHeader">
        <int name="status">0</int>
        <int name="QTime">7</int>
    </lst>
    <result name="response" numFound="0" start="0"></result>
    <lst name="spellcheck">
        <lst name="suggestions">
            <lst name="singapor">
                <int name="numFound">1</int>
                <int name="startOffset">0</int>
                <int name="endOffset">8</int>
                <int name="origFreq">0</int>
                <arr name="suggestion">
                    <lst>
                        <str name="word">singapore</str>
                        <int name="freq">104</int>
                    </lst>
                </arr>
            </lst>
        </lst>
        <bool name="correctlySpelled">false</bool>
        <lst name="collations">
            <lst name="collation">
                <str name="collationQuery">singapore</str>
                <int name="hits">104</int>
                <lst name="misspellingsAndCorrections">
                    <str name="singapor">singapore</str>
                </lst>
            </lst>
        </lst>
    </lst>
</response>

0
7.
1.
0
8.
0
新加坡
104
假的
新加坡
104
新加坡
我想要区分大小写的Singapore的准确结果,而不是Singapore

<str name="word">Singapore</str>
新加坡