RiakSearch returns all the records when the search term is of the form "<sometext>_<singlecharacter>".
forgetvijay at gmail.com
Thu Mar 1 01:54:04 EST 2012
Thanks Ryan. Yes changing analyzer fixes the issue.
On Thu, Mar 1, 2012 at 11:18 AM, Ryan Zezeski <rzezeski at basho.com> wrote:
> You must be using the standard analyzer  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.
> On Thu, Mar 1, 2012 at 12:27 AM, vijayakumar <forgetvijay at gmail.com>wrote:
>> 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?
>> 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.
>> riak-users mailing list
>> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users