Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Make facet query case insensitive #110

Closed
usercluster opened this issue Dec 17, 2017 · 1 comment
Closed

Make facet query case insensitive #110

usercluster opened this issue Dec 17, 2017 · 1 comment

Comments

@usercluster
Copy link

Good afternoon,
I am trying to write a query that should return results that match a particular field with a string, but I would like this to be case insensitive. Here the example:

ls.tweets_query<- cli$facet(params = list(q='hashtags:londonbridge',
facet.date='createdAt',
facet.date.include='all',
facet.date.start='2017-03-01T00:00:00Z',
facet.date.end='2017-09-01T23:59:99.999Z',
facet.date.gap='+1HOUR'))

In this case, I would like in the results all those that match 'londonbridge', but also 'Londonbridge' and 'LondonBridge'. How can I do that? I was looking at the Lucerne syntax but was not able to figure it out how to solve it.
Thanks!

@sckott
Copy link
Contributor

sckott commented Dec 18, 2017

thanks for the question @usercluster

I don't know off hand how to do that. Do you manage the Solr installation? If so, what version of Solr is it.

@sckott sckott closed this as completed Dec 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants