I studied the problem I was having with using the Python client's
.fulltext_search(...) method and got it down to this - it seems that I get
an error when searching against Solr using the Python client's
.fulltext_search(...) method (using protocol buffers) whenever I have a *
stored* boolean field.

In my schema, I have:

<field name="banned" type="boolean" indexed="true" stored="true" />

With that (or any named field of type "boolean" that is set to
stored="true") I receive the following stack trace:

http://pastebin.com/ejCixPEZ

In the error.log file on the server, I see the following repeated:

2013-10-15 01:21:17.480 [error] <0.2872.0>@yz_pb_search:maybe_process:95
function_clause
[{yz_pb_search,to_binary,[false],[{file,"src/yz_pb_search.erl"},{line,154}]},{yz_pb_search,encode_field,2,[{file,"src/yz_pb_search.erl"},{line,152}]},{lists,foldl,3,[{file,"lists.erl"},{line,1197}]},{yz_pb_search,encode_doc,1,[{file,"src/yz_pb_search.erl"},{line,144}]},{yz_pb_search,'-maybe_process/3-lc$^0/1-0-',1,[{file,"src/yz_pb_search.erl"},{line,76}]},{yz_pb_search,maybe_process,3,[{file,"src/yz_pb_search.erl"},{line,76}]},{riak_api_pb_server,process_message,4,[{file,"src/riak_api_pb_server.erl"},{line,383}]},{riak_api_pb_server,connected,2,[{file,"src/riak_api_pb_server.erl"},{line,221}]}]

Does anyone have any insight? I'm not a Solr expert, so perhaps storing
boolean fields for retrieval is not a good idea? I know if I index but
don't store, I can still successfully search against a boolean value.

Thanks!

Dave
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to