Displaying 20 results from an estimated 20000 matches similar to: "Question on boosting and pagination with acts_as_solr"
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 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
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
=>
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
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 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
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 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 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
2016 Mar 17
0
[PATCH 05/19] clk: allow boosting only when NvBoost is set
0: base clock from the vbios is max clock
1: boost only to boost clock from the vbios (default)
2: boost to max clock available
Signed-off-by: Karol Herbst <nouveau at karolherbst.de>
---
drm/nouveau/include/nvkm/subdev/clk.h | 9 ++++++++-
drm/nouveau/nvkm/subdev/clk/base.c | 26 ++++++++++++++++++++++++--
drm/nouveau/nvkm/subdev/clk/gf100.c | 2 +-
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
2016 Apr 18
0
[PATCH v4 15/37] clk: allow boosting only when NvBoost is set
0: base clock from the vbios is max clock
1: boost only to boost clock from the vbios (default)
2: boost to max clock available
v2: moved into nvkm_cstate_valid
v4: check the existence of the clocks before limiting
Signed-off-by: Karol Herbst <nouveau at karolherbst.de>
Reviewed-by: Martin Peres <martin.peres at free.fr>
---
drm/nouveau/include/nvkm/subdev/clk.h | 9 ++++++++-
2015 Dec 01
0
[RFC PATCH 5/5] clk: allow boosting only when NvBoost is set
0: disable boosting (cap to base clock from the vbios)
1: boost only to boost clock from the vbios
2: boost to max clock available
---
drm/nouveau/include/nvkm/subdev/clk.h | 10 +++++++++-
drm/nouveau/nvkm/subdev/clk/base.c | 17 ++++++++++++++++-
drm/nouveau/nvkm/subdev/clk/gf100.c | 2 +-
drm/nouveau/nvkm/subdev/clk/gk104.c | 2 +-
4 files changed, 27 insertions(+), 4 deletions(-)
2006 May 25
0
boosting
Hi
I am using boosting for a classification and prediction problem.
For some reason it is giving me an outcome that doesn't fall between 0
and 1 for the predictions. I have tried type="response" but it made no
difference.
Can anyone see what I am doing wrong?
Screen output shown below:
> boost.model <- gbm(as.factor(train$simNuance) ~ ., # formula
+
2015 Dec 02
0
[RFC PATCH 5/5] clk: allow boosting only when NvBoost is set
> Pierre Moreau <pierre.morrow at free.fr> hat am 2. Dezember 2015 um 02:26
> geschrieben:
>
> Hi Karol,
>
> I have some comments below.
>
> On 05:42 PM - Dec 01 2015, Karol Herbst wrote:
> > 0: disable boosting (cap to base clock from the vbios)
> > 1: boost only to boost clock from the vbios
> > 2: boost to max clock available
> > ---
>
2006 May 27
2
boosting - second posting
Hi
I am using boosting for a classification and prediction problem.
For some reason it is giving me an outcome that doesn't fall between 0
and 1 for the predictions. I have tried type="response" but it made no
difference.
Can anyone see what I am doing wrong?
Screen output shown below:
> boost.model <- gbm(as.factor(train$simNuance) ~ ., # formula
+
2007 Oct 03
3
Pagination problem with acts_as_ferret
Hi,
am using this wonderful plugin acts_as_ferret and according to the
tutorial at http://railsenvy.com/2007/2/19/acts-as- ? rial#basic
I worked it out except the pagination feature.
If I have 12 records and I give limit to 10, its correctly displaying 10
records in the first page and is giving the link to the second page too.
But when I go to the next page I find the same 10 records instead of
2006 Feb 13
1
another simple question: per_page in pagination
Hi,
Why can''t I use a variable to specify the :per_page attribute when using
the most basic form of pagination? (if I use a hardcode number, it
runs) What did I do? Thx.
My code:
def list_orders
page_size = 20
...
order_pages, @orders = paginate(:orders, :per_page => page_size)
end
My Errors:
undefined method `>'' for false:FalseClass
RAILS_ROOT:
2015 Dec 02
2
[RFC PATCH 5/5] clk: allow boosting only when NvBoost is set
Hi Karol,
I have some comments below.
On 05:42 PM - Dec 01 2015, Karol Herbst wrote:
> 0: disable boosting (cap to base clock from the vbios)
> 1: boost only to boost clock from the vbios
> 2: boost to max clock available
> ---
> drm/nouveau/include/nvkm/subdev/clk.h | 10 +++++++++-
> drm/nouveau/nvkm/subdev/clk/base.c | 17 ++++++++++++++++-
>
2005 Jul 12
1
SOS Boosting
Hi,
I am trying to implement the Adaboost.M1. algorithm as described in
"The Elements of Statistical Learning" p.301
I don't use Dtettling 's library "boost" because :
- I don't understande the difference beetween Logitboost and L2boost
- I 'd like to use larger trees than stumps.
By using option weights set to (1/n, 1/n, ..., 1/n) in rpart or tree