Re: riak kv search and analyzers

2012-11-12 Thread Thomas Santero
Hi Mridul, When you integrate riak_kv with riak_search the index name and the bucket name will be the same. I was mistaken and assumed that this was explicit in the documentation, however it is not. (will be changing this shortly). Once you have written the appropriate schema file, as discussed e

Re: riak kv search and analyzers

2012-11-11 Thread Mridul Kashatria
Hi Tom, I saw that documentation but it is not clear how to define that schema on auto-indexed key value search. The commands given are below # Set an index schema. bin/search-cmd set-schema Index SchemaFile # View the schema for an Index. bin/search-cmd show-schema Index I don't know what is

Re: riak kv search and analyzers

2012-11-10 Thread Thomas Santero
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].

riak kv search and analyzers

2012-11-10 Thread Mridul Kashatria
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. I