Displaying 20 results from an estimated 300 matches similar to: "acst_as_solr error"
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 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'' %>
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 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);''%>
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
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
=>
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
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
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!
2011 Sep 09
0
Mysql::Error error in acts as solr plugin
hi,
i am using acts_as_solr in plugin, in my table i got three
columns
emp_id, name, experience.
when i tried to run my application i got following error
"Mysql::Error: Unknown column ''employees.id'' in ''where clause'': SELECT
`employees`.* FROM `employees` WHERE (employees.id in (NULL))"
in my table i dont have column "id", but
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 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
--
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
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/.
2005 Dec 30
2
Domtools.com hyjacked?
Attempted to install dlint port.
Only distribution site is www.domtools.com
Email to 'content@domtools.com' and pab@domtools.com bounces (can't
relay)
Phone number missing on whois record.
Fetch of tarball fails checksum (it delivers a generic 'web hosted
search engine that just hijacked someone's domain' web page.
Maybe domtools didn't renew? New web company
2007 Jul 04
6
Inconsistent results when using wild card queries
We get some unexpected results when using wild card queries. We''re using
aaf and Ferret 0.11.4
For exampel, when seraching on a part of a collegues name (kristofer)
and limiting it to a specific source_id:
Query: source_id:25 AND kri*
Result: 2 documents. None of them containg the word kristofer, but other
matching words, as "kring" and "kring?" (swedish)
Query:
2007 May 30
9
In Search of Search!
I am implementing a search on my site and was wondering which will be
the best way to go about it.
We want a full text search and an advance search.
We will have huge amounts of data that we would want to search. - on
multiple tables.
I went through the plugins acts_as_ferret and acts_as_solr.
but ferret seems to have a locking problem at high load and solr needs
a java server.
So what do you
2009 Nov 19
4
mac client and inherited permissions
Hi everyone,
We are a longtime samba/win desktop shop but are getting more Macs.
Samba sernet rpms 3.3.9 on CentOS 5.4 test box (started to test 3.43
but will wait) and I confirmed a problem I have been having in
production.
Server is ADS member with ldap stored idmap. All AD auth and idmap are
identical to production servers and have been working fine for years.
Filesystem is XFS and there are
2016 May 17
2
Function arguments pass by value or by reference.
Now, I am using LLVM-3.3 do some process with functions, however there are
some difficult things I can't handle by myself. So,
I want get your help to get it down properly.
Q1. There is a function declaration:
call i32 @create(i64* %tid, %union.t* %pab, i8* (i8*)* @worker, i8* null)
// callInst
Store instruction goes like this:
store i8* (i32, double, i32*)* %fp, i8* (i32, double, i32*)**
2002 Apr 15
1
make check fails d-p-q-r-tests.R - OpenBSD 3.0 (PR#1461)
Found one that stumped me. I did a search on R-bugs for the
string "d-p-q-r-tests", and found zero entries in all categories
(I don't think I secretly gave it a regex).
Did the usual configure, make, make check on OpenBSD 3.0, and
encountered this message on d-p-q-r-tests.Rout:
running code in `d-p-q-r-tests.R' ... OK
comparing `d-p-q-r-tests.Rout' to