Hi,
I tried to query my document using wildcard in the middle of a term through
solr web interface through this address: curl "
http://localhost:8098/solr/test-pages/select?q=title:M*in"
It does not return any result:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
<lst name="params">
<str name="indent">on</str>
<str name="start">0</str>
<str name="q">title:M*in</str>
<str name="q.op">or</str>
<str name="df">value</str>
<str name="wt">standard</str>
<str name="version">1.1</str>
<str name="rows">0</str>
</lst>
</lst>
<result name="response" numFound="0" start="0" maxScore="0.0">
</result>
</response>
However adding the wildcard at the end works: curl "
http://localhost:8098/solr/test-pages/select?q=title:Main*"
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">3</int>
<lst name="params">
<str name="indent">on</str>
<str name="start">0</str>
<str name="q">title:Main*</str>
<str name="q.op">or</str>
<str name="df">value</str>
<str name="wt">standard</str>
<str name="version">1.1</str>
<str name="rows">1</str>
</lst>
</lst>
<result name="response" numFound="1" start="0" maxScore="0.00000e+0">
<doc>
<str name="id">Main
</str>
<str name="content">Welcome to Test
</str>
<str name="created_at">Sat Jan 29 13:57:14 UTC 2011
</str>
<str name="creator_id">4d44049d1d41c8100e00001a
</str>
<str name="slug">Main
</str>
<str name="title">Main
</str>
<str name="updated_at">Thu Feb 03 10:48:54 UTC 2011
</str>
<str name="updater_id">4d4a87d61d41c81229000006
</str>
</doc>
</result>
Can you please advise what I am doing wrong or anything else that I need to
configure here? I am using Riak search 0.14 with Erlang R14B.
Thank you very much for your assistance.
Kind regards,
Joshua.
--
http://twitter.com/jpartogi
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com