On 2/23/2011 2:47 AM, wilson Tuladhar wrote:
> now when I try to use this index name for indexing my document as :
> search:index_doc(<<"testindex">>, <<"my_doc">>, [{<<"fname">>,
> <<"Fname">>}, {<<"lname">>, <<"Lname">>}])
> it gives me this error:
> ** exception error: bad argument
> in fun
Hi Wilson,
Can you double check the error message? You are trying to store a document
in index "testindex", but the error message states an index of "testUser".
Could this be an old error.
Also, the 'search' module is only intended to be run from within a Riak
Search node. It's intended to be a s
Hi,
For indexing my data, I have created a schema as
{
schema,
[
{version, "1.0"},
{default_field, "fname"},
{default_op, "or"},
{n_val, 3},
{analyzer_factory, {erlang, text_analyzers,
whitespace_analyzer_factory}}
],
[
%% Parse the field in