Hi Mike,<div><br></div><div>The Whitespace tokenizer (the default) is case sensitive, so the query should be:</div><div><br></div><div><meta charset="utf-8">search:search<span>(</span><<<span>"my_index"</span>>>, <<<span>"title:Title"</span>>><span>)</span></div>
<div><span><br></span></div><div><span>If you want a tokenizer that is case-insensitive and also filters out stopwords (basically, something more appropriate for prose) you can use the Standard analyzer factory. Details are here: <a href="http://wiki.basho.com/Riak-Search---Schema.html">http://wiki.basho.com/Riak-Search---Schema.html</a></span></div>
<div><br></div><div><span></span>I'm not sure why you see a range_loop exception. That's odd. You should just see zero results returned.</div><div><br></div><div>Some diagnostic questions:</div><div><br></div><div>
- Are you running on a single node? </div><div>- What platform are you running?</div><div>- If you run the command "ulimit -n", what does it return?</div><div><br></div><div>Best,</div><div>Rusty</div><div><br></div>
<div><br><br><div class="gmail_quote">On Mon, Apr 4, 2011 at 2:18 AM, Mike Huffman <span dir="ltr"><<a href="mailto:mike.huffman@gmail.com">mike.huffman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Everyone!<br><br>I am having the following problem and google is not helping as far as a solution.<br><br>From a fresh built of riak search from git source, I try the following commands:<br><br>make rel<br>cd rel/riaksearch<br>

./bin/riaksearch start<br>
./bin/riaksearch attach<br><br>now I try the following commands from the erlang command line:<br><br>(next line directly from <a href="http://wiki.basho.com/Riak-Search---Indexing.html" target="_blank">http://wiki.basho.com/Riak-Search---Indexing.html</a> )<br>

<br>search:index_doc<span>(</span><<<span>"my_index"</span>>>, <<<span>"my_doc"</span>>>, <span>[{</span><<<span>"title"</span>>>, <<<span>"The Title"</span>>><span>}</span>, <span>{</span><<<span>"content"</span>>>, <<<span>"The Content"</span>>><span>}]).<br>

<br>response is "ok"<br><br></span>(next line directly from <a href="http://wiki.basho.com/Riak-Search---Querying.html" target="_blank">http://wiki.basho.com/Riak-Search---Querying.html</a> )<br><br>search:search_doc<span>(</span><<<span>"my_index"</span>>>, <<<span>"title:title"</span>>><span>)</span>.  or   search:search<span>(</span><<<span>"my_index"</span>>>, <<<span>"title:title"</span>>><span>)</span>.<br>

<span><br>response is:<br><br>=ERROR REPORT==== 4-Apr-2011::02:13:32 ===<br>range_loop timed out!** exception throw: {timeout,range_loop}<br>     in function  riak_search_backend:collect_info_response/3<br>     in call from riak_search_op_term:info/3<br>

     in call from riak_search_op_term:preplan/2<br>     in call from riak_search_op_scope:preplan/2<br>     in call from riak_search_client:parse_query/3<br>     in call from search:search_doc/2<br><br></span>
<br>Am I using the erlang commands incorrectly? <br><br>Any help pointing me in the right direction would be greatly appreciated.<br><br>Thanks.<br>
<br>_______________________________________________<br>
riak-users mailing list<br>
<a href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a><br>
<a href="http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com" target="_blank">http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com</a><br>
<br></blockquote></div><br></div>