similar to: Mysql::Error error in acts as solr plugin

Displaying 20 results from an estimated 10000 matches similar to: "Mysql::Error error in acts as solr plugin"

2011 Sep 08
8
acts_as_solr problem ActsAsSolr::SearchResults:
hi, i am using acts_as_solr plugin when i tried with search by def search puts "#####################" # ids = params[:name] @id = params[:query] @emp = Employee.find_by_solr(@id) puts "------------------------------#{@emp}" respond_to do |format| format.html{render :action => ''search''} format.xml end
2011 Sep 09
2
acst_as_solr error
hi, i am using https://github.com/mattmatt/acts_as_solr it shows the following error "undefined method ''each'' for " for this results = Employee.find_by_solr(@id) results.each do |emp| puts emp.id end where plugin does not contains "each" method in acts_as_solr/libs/ search_results.rb so for me each is not working with ActsAsSolr::SearchResults
2011 Dec 16
0
eroor with acts as solr pagination undefined method `paginate_all_by_solr'
Hi, i have tried to paginate search result of acts as solr by using following like http://henrik.nyh.se/2007/06/using-will_paginate-with-acts_as_solr and i am getting following error undefined method `paginate_all_by_solr'' for #<Class:0xb4fa5f0> could any one provide me solution pls, thanks, -pab -- You received this message because you are subscribed to the Google Groups
2011 Sep 14
5
rjs error TypeError: element.getElementsByTagName is not a function in rails 3+jquery
hi, i am using rails 3.0.10 i am trying with sample application for searching data from table and updating my search.html.erb file is <%= form_for (@employee) do |s|% <div id ="search_details"> <%= s.text_field :name%> <%= s.text_field :emp_id, :onfocus => ''sal(document.getElementById(''employee_name'').value);''%>
2010 Aug 21
0
problem with date range search using acts as solr
Hi, i am struck up with solr''s date range search. I have used acts_as_solr plugin in my rails project. My model looks like acts_as_solr :fields => [:title,{:createdate=>:date}] No problem,if i used following date range search format => model.find_by_solr("createdate:[NOW-1DAY TO NOW+1DAY"] if i used following format =>
2011 Aug 31
9
undefined method `model_name' for NilClass:Class in rails 3.0.0
Hi, i got search which shows following error ActionView::Template::Error (undefined method `model_name'' for NilClass:Class): 1: <%= form_for(@employee) do |e| %> 2: EMP ID<%= e.text_field :id %><br> 3: <%= e.submit ''search'', :controller => ''employees'', :action => ''search1'' %>
2012 Mar 29
0
Returning all fields indexed in solr using acts_as_solr
Hello, I am new to Ruby and Rails. I have an application that I would like to add searching. I am using acts_as_solr for this. To search I do: @results = Model.find_by_solr(params[:q]) However results contain only the primary key and score. It doesn''t contains other fields. The Solr log shows: INFO: [] webapp=/solr path=/select
2011 Sep 21
5
problem with submit button in rails 3
hi, i am using <%= s.submit ''Product save'' %> when i click it, following error appears " Routing Error uninitialized constant ProductsController" could any one provide me solution ? thanks, -pab -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2011 Dec 15
0
how to find table name from result in act as solr search
Hi, i am using multi_solr_search in act as solr and i am getting results from two table and i what know from which table data is coming while running in docs loop, is there any possible way to find table from which data is comming? thaks, -pab -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2008 Dec 24
1
Need help : Rails app unable to connect to Solr server
Hi, I am trying to integrate solr in ruby on rails application.For that i am using the plugin acts_as_solr and gem solr-ruby. My solr server starts successfully with command $ rake solr:start But when I try to add data from $ script/console , it says that it cannot connect to solr server at the corresponding port.Same is the result if i try the browser to link to http://localhost:8982/solr
2011 Oct 17
1
problem with auto increment in rails 3
hi, i am tried to use auto increment field for user_id field but it fails to do it create_table :users,:id => false,:primary_key => ''user_id'', :force => true do |t| t.integer :user_id,:auto_increment => true, :null => false t.string :name t.string :email t.timestamps end is there any syntax to do auto increment in rails
2008 Apr 23
1
Error in execution of rails Application using solr Search engine
I installed solr search engine in my Rails application when i started server then i found this message execution expired and usr/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill'' /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'' /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'' /usr/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' /usr/lib/ruby/1.8/net/protocol.rb:116:in
2008 Apr 23
0
Flare plugin (with Ruby Solr library and acts_as_solr plugin)
Hello, I''m looking for informations about this plugin (Flare). http://wiki.apache.org/solr/Flare/ Is it a final plugin? Can we use it on final production application? Have you some documentation / tutorial about it? I don''t find anything ! I would be grateful to your help that you bring to me. Vincent --~--~---------~--~----~------------~-------~--~----~ You received this
2007 May 31
0
Question on boosting and pagination with acts_as_solr
I am currently working with Solr and acts_as_solr. I updated acts_as_solr to include boost value in field attributes and for some reason they dont seem to have an impact on result scores. On Pagination with acts as solr, is there a way to find out the total number of entries u get with the search? Thanks for your response. cheers -- Posted via http://www.ruby-forum.com/.
2008 Feb 06
1
RSpec 1.1.3 + ZenTest 3.9.1 + Rails 1.2.6 do NOT ignore folders ^vendor/*
Hi, I just updated to the latest RSpec 1.1.3 + ZenTest 3.9.1. I also have rspec 1.1.3 installed as a gem When starting autotest with -v option, there is a lot of noise because autotest does not ignore the vendor folder, the migrations, etc ...: Dunno! vendor/plugins/acts_as_solr/solr/lib/jetty-util-6.1.3.jar Dunno!
2010 Sep 16
6
acts_as_solr plugin fate?
Just wanted to see if I was using the latest acts_as_solr plugin, but the URL <http://acts_as_solr.railsfreaks.com/> takes me to a GoDaddy domain parking page. Anyone know what''s happened to railsfreaks, and more particularly this plugin? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this
2011 Dec 15
1
problem with starting mongrel gem
Hi, I have installed mongrel gem and when i tried to start mongrel_rails start its causing me following problem mongrel_rails start ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... Requiring REXML /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.10/lib/ active_support/dependencies.rb:239:in `require'': no such file to load --
2014 Mar 13
0
FTS solr : body search gives mysql error
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 13 Mar 2014, Alexandre Ellert wrote: > I've recently setup FTS solr plugin, following http://wiki2.dovecot.org/Plugins/FTS/Solr, and I have this error in logs when I do a body search : > > Mar 13 01:46:40 mut-mx-1 dovecot: auth-worker(5808): Warning: mysql: Query failed, retrying: Unknown column 'disableindexer' in
2014 Mar 13
3
FTS solr : body search gives mysql error
Hello, I've recently setup FTS solr plugin, following http://wiki2.dovecot.org/Plugins/FTS/Solr, and I have this error in logs when I do a body search : Mar 13 01:46:40 mut-mx-1 dovecot: auth-worker(5808): Warning: mysql: Query failed, retrying: Unknown column 'disableindexer' in 'where clause' Mar 13 01:46:40 mut-mx-1 dovecot: auth-worker(5808): Error: sql(user at
2005 Dec 05
1
Lack of 'LEFT JOIN' in Oracle 8, any patch for theta style (+)
Dears, Oracle 8 don''t support ANSI syntax with : SELECT e.emp_id, e.fname, e.lname, j.jobdesc FROM employe e LEFT JOIN jobs j ON e.job_id = j.job_id but only SELECT e.emp_id, e.fname, e.lname, j.jobdesc FROM employe e, jobs j WHERE j.job_id (+) = e.job_id JOIN syntax came with 9i. Anyone patched Rails