I'm using the new ruby client and I'm learning ruby on rails at the same
time, may be a bad move but I made it.
I've got my app up, and can search using the new client, and it works well.
I'm trying to append "&pretty=true" but it keeps changing the string to
"%26pretty%3Dtrue". Is there a better way to accomplish this?
<%= @esearch.search q:params[:query] >> + '&pretty=true' do %>
<% end %>
I've also tried using .html_safe, and raw() with no luck. I this maybe
where I would need to use rails/jbuilder?
From my understanding as a non-Ruby developer, the Tire Ruby client might
have better integration with Rails. You might want to look into that
client instead.
I'm using the new ruby client and I'm learning ruby on rails at the same
time, may be a bad move but I made it.
I've got my app up, and can search using the new client, and it works
well. I'm trying to append "&pretty=true" but it keeps changing the string
to "%26pretty%3Dtrue". Is there a better way to accomplish this?
<%= @esearch.search q:params[:query] >> + '&pretty=true' do %>
<% end %>
I've also tried using .html_safe, and raw() with no luck. I this maybe
where I would need to use rails/jbuilder?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.