GIJO
GIJO

Reputation: 67

Solr 6 Case insensitive query

I'm looking for a way to do a case insensitive query on Solr 6. I'm using Json files. Here is my current query :

http://ipaddress:8983/solr/artists/select?q=title:*my string*&rows=200&wt=json&indent=true

Any Idea ?

Upvotes: 1

Views: 1464

Answers (1)

Abhijit Bashetti
Abhijit Bashetti

Reputation: 8658

Add the LowerCaseTokenizerFactory in the fieldType used for the title field.

Add the filter at both index and query.

Check the more filters and their info at Solr Filters

Upvotes: 1

Related Questions