You can use a case-insensitive field type for this, for example

       <fieldType name="string_ci" class="solr.TextField"
sortMissingLast="true" omitNorms="true">
           <analyzer type="index">
                <tokenizer class="solr.KeywordTokenizerFactory"/>
                <filter class="solr.LowerCaseFilterFactory"/>
            </analyzer>
            <analyzer type="query">
                <tokenizer class="solr.KeywordTokenizerFactory"/>
                <filter class="solr.LowerCaseFilterFactory"/>
            </analyzer>
        </fieldType>

Of course, you'll have to adjust your datatype/schema to make use of the
new type.

Regards,
Vitaly

On Sun, May 15, 2016 at 12:41 PM, Alex De la rosa <alex.rosa....@gmail.com>
wrote:

> Hi there,
>
> Is there a way to make case-insensitive search queries? The following
> query works fine, but only find the entry if sending "Alex" but not finding
> anything with "ALEX" or "alex" or "AlEx", etc...
>
>
> http://xxx.xxx.xxx.xxx:8098/search/query/customers?wt=json&q=firstname_register:Alex
>
> Thanks,
> Alex
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to