Thanks Ryan. Yes changing analyzer fixes the issue.

Regards,
Vijayakumar.

On Thu, Mar 1, 2012 at 11:18 AM, Ryan Zezeski <rzeze...@basho.com> wrote:

> Vijayakumar,
>
> You must be using the standard analyzer [1] for "Field 1" which will split
> on '_' and drop '1'.  You'll either want to use the whitespace analyzer or
> noop analyzer in this scenario.
>
> -Ryan
>
> [1]:
> http://wiki.basho.com/Riak-Search---Schema.html#Standard-Analyzer-Factory
>
> On Thu, Mar 1, 2012 at 12:27 AM, vijayakumar <forgetvi...@gmail.com>wrote:
>
>> Hi,
>>   RiakSearch is treating the queryterm as "*" when queryterm is of the
>> form "<sometext>_<singlecharacter>"  (eg:name_1,name_1) and returns the
>> entire record set. Is this a known issue?
>>
>> Example:
>>
>> Key   Field1  Field2
>> key1    field_a  sometext
>> key2    field_c  sometext.
>>
>>
>> When queried for Field1 with queryterm as "field_a"  solr search returns
>> both key1 and key2 instead of key1 alone.
>>
>> Regards,
>> Vijayakumar.
>>
>>
>> _______________________________________________
>> 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