Hi Mridul,
The standard analyzer will automatically convert all letters to lowercase,
so all you need to do is create a custom schema for your JSON field names
using {analyzer_factory, {erlang, text_analyzers,
standard_analyzer_factory}} and set the schema as it described in the
documentation[0].
[0]
http://docs.basho.com/riak/latest/cookbooks/Riak-Search---Schema/#Defining-aSchema
Tom
On Sat, Nov 10, 2012 at 2:39 PM, Mridul Kashatria <[email protected]>wrote:
> Hi,
>
> I was trying Riak's auto-indexed search on a bucket using the standard pre
> commit hook. The JSON objects that I save have title and description fields
> which need to be treated as full text search.
>
> Problem is that I could not find how to do case insensitive full text
> search on the bucket. In the document at
> http://docs.basho.com/riak/latest/cookbooks/Riak-Search---Schema/ I can
> see that "standard analyzer" is what is required for full text search. How
> can I set this analyzer in the Riak key value search?
>
> Regards
>
> --
>
> Mridul
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com