Re: Riak search with case-insensitive searches
Yeah... I realised it... either way, my use case doesn't really require case-sensitive searches, so is good for me ;) Thanks, Alex On Sun, May 15, 2016 at 2:06 PM, Vitaly <13vitam...@gmail.com> wrote: > If you take a closer look, you can notice that the idea is to convert the > field to lower case in insertion/indexing, and then look for a lowercase > match during search. Which means you won't be able to use the same field > for case-sensitive search. Unfortunately, I'm not aware of other ways of > implementing case-insensitive search in Solr. > > Regards, > Vitaly > > On Sun, May 15, 2016 at 12:51 PM, Alex De la rosa> wrote: > >> I see, cool :) thanks for the help >> >> Alex >> >> On Sun, May 15, 2016 at 1:49 PM, Vitaly <13vitam...@gmail.com> wrote: >> >>> You can use a case-insensitive field type for this, for example >>> >>>>> sortMissingLast="true" omitNorms="true"> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> 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=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
Re: Riak search with case-insensitive searches
If you take a closer look, you can notice that the idea is to convert the field to lower case in insertion/indexing, and then look for a lowercase match during search. Which means you won't be able to use the same field for case-sensitive search. Unfortunately, I'm not aware of other ways of implementing case-insensitive search in Solr. Regards, Vitaly On Sun, May 15, 2016 at 12:51 PM, Alex De la rosawrote: > I see, cool :) thanks for the help > > Alex > > On Sun, May 15, 2016 at 1:49 PM, Vitaly <13vitam...@gmail.com> wrote: > >> You can use a case-insensitive field type for this, for example >> >>> sortMissingLast="true" omitNorms="true"> >> >> >> >> >> >> >> >> >> >> >> 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=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
Re: Riak search with case-insensitive searches
I see, cool :) thanks for the help Alex On Sun, May 15, 2016 at 1:49 PM, Vitaly <13vitam...@gmail.com> wrote: > You can use a case-insensitive field type for this, for example > > sortMissingLast="true" omitNorms="true"> > > > > > > > > > > > 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> 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=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
Re: Riak search with case-insensitive searches
You can use a case-insensitive field type for this, for example 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 rosawrote: > 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=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
Riak search with case-insensitive searches
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=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