Is the Search API case-insensitive?

 Hi,

I have a question regarding the Search API. Can i make it case-sensitive? So only the exact word will be matched.

 

Thanks,

Nikku

  • Hi Nikku -

    As you probably found on the <ishquery> doc there are no parameters to handle that dynamically. The search itself on the most recent versions (your version was missing) is based on Solr. Through a Solr customization change (\Data\TrisoftSolrLucene\SolrLuceneCatalog\conf\schema.xml) and reindex by the Crawler you can get different behavior.

    As always you'll have to make the call if customizing this setting is worth, and to maintain it across upgrades.

    The above is of course the technical explanation based on a technical question. Perhaps there are different routes, but for that you'll need to tell us a little more about the problem you are trying to solve.

    Best wishes,
    Dave