RiakSearch returns all the records when the search term is of the form "<sometext>_<singlecharacter>".

Ryan Zezeski rzezeski at basho.com
Thu Mar 1 00:48:11 EST 2012


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 <forgetvijay at 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 at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120301/e6d09245/attachment.html>


More information about the riak-users mailing list