Im trying to set up a case insensitive search for bunch of XML documents. Is there a inbuilt field type that i can use? Im using Solr 5.2.1, I tried all stack overflow responses
SOLR Case Insensitive Search how to make field search not case-sensitive in solr using solrnet
I added a custom field in schema.xml which is inside solr-5.2.1\example\example-DIH\solr\solr\schema.xml
should this field appear in schema browser in the web UI? Im also not getting it there. this is the filed type :
<fieldType name="string_ci" class="solr.TextField"
sortMissingLast="true" omitNorms="true">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory" />
</analyzer>
</fieldType>
this is my xml:
<doc>
<field name="id">
70
change.me</field>
<field name="title1" type="string_ci">
Hatton Matale
</field>
<field name="title2" type="text_general">
Kotagala Kandy
</field>
</doc>
this is my query :
title2:*kandy*
http://localhost:8983/solr/CaseTest/select?=title2%3Akandy&wt=json&indent=true