Displaying 20 results from an estimated 1000 matches similar to: "GeoQuery with acts_as_ferret involved"
2006 Aug 30
7
AAF Sorting by date - what am I doing wrong?
I''m trying to sort my search results by Date, in descending order. I''ve
done quite a bit of reading through the forums here, and I''ve tried two
different suggestions.
This just returns results in the same order as a search without a sort:
sort_fields = []
sort_fields <<
Ferret::Search::SortField.new("ferret_created_at",:reverse => :true)
2006 Oct 16
8
acts_as_ferret: can i specify a search on 1 field as suppose
to the ones i defined in my model? for example if in the model i specify
acts_as_ferret to index only column 1, 2, and 3 in my table....how can i
perform a search just for column 1 if need be.
for example, id like to give the user the ability to just search on
title name vs description, etc...
thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Dec 07
8
crash on repeated search
I have found another crash in ferret; this one just uses a regular
search. It''s similar to an issue reported by Matt Schnitz a while ago,
but unlike his, mine does not go away if I turn off omit_norms. It does
go away if I turn on the garbage collector more often, but I''m not sure
that''s a stable workaround under the circumstances.
This one isn''t a
2007 Jul 13
8
More sorting problems with untokenized index
I''m having problems sorting on untokenized fields. I have one field that
sorts fine, but there are others that seem to sort on a different field.
Here''s the index description:
acts_as_ferret
:remote=>true,:fields=>{:name=>{:boost=>2},:name_for_sort=>{:index =>
:untokenized},
:city=>{:boost=>2}, :city_for_sort=>{:index=>:untokenized},
2014 Oct 10
2
Problemas al intentar cargar datos
Hola, buenas tardes,
Hace unos dias que intento cargar unos datos de microarrays del ncbi con
versiĆ³n de R 2.15.2 de 32 bits en windows xp.
he utilizado el siguiente codigo:
library(Biobase)
library(GEOquery)
library(limma)
gset <- getGEO("GSE6536", GSEMatrix =TRUE)
Al hacerlo me da este error:
"Error in function (type, msg, asError = TRUE) : couldn't connect to
2006 Dec 28
13
Sorting/Ordering Search Results
Hello All,
I am having an issue with AAF and sorting results of a search. Right
now, I have results being split onto pages of 10. The results are being
sorted alphabetically, but not across multiple pages - it''s just sorting
the 10 it pulls down on each page. I noticed another post from April
regarding this same issue (http://www.ruby-forum.com/topic/62993#66934)
where the issue was
2006 Aug 20
7
missing terms in index causing search errors
I am unable to find results for models when one or more of the terms are
not being indexed.
Lets suppose I index a User on the phrase "Ruby on Rails." If I then
search using User.find_by_contents("Ruby on Rails") I get no results,
since "or" is a common term and does not get indexed. Of course,
User.find_by_contents("Ruby Rails") works just fine.
I
2007 Apr 30
1
Can''t search fields with space
Hi,
I have a user model that has a city field which is searchable using
acts_as_ferret.
But I can''t get it to return any result whether I use
:city => {:store => :no, :index => :untokenized},
or
:city => {:store => :no} in my User model''s acts_as_ferret option
>>> User.find_by_contents("city:(cal poly)")
=>
2008 Jan 22
4
select repositories under linux
Hi all,
I am trying to install the package "GEOquery" in unix. I have downloaded the
standard version of R and this package is not contained in the default. I
know that I can select repositories under windows but I don't know how to do
it in unix. Does anyone have any idea on this?
Thank you in advance,
Eleni
[[alternative HTML version deleted]]
2007 May 02
4
Wrong total_hits when using conditions in find_by_contents
In my model Topic:
acts_as_ferret({ :fields => {:username => {:store => :yes, :boost =>
30}, :subject => {:store => :yes, :boost => 20}, :body => {:store =>
:yes, :boost => 10}}, :remote => true }, { :analyzer =>
Ferret::Analysis::RegExpAnalyzer.new(/./, false) })
def self.full_text_search(q, options = {}, find_options = {})
return nil if q.nil? or
2007 Jul 24
4
Act as Ferret supports Conditional search?
Hi all,
Im a newbie to ferret.I have installed the act_as_ferret gem and i
actually want to search for some content in the model,but per user.
My model has data,user_id.So within the data column i have to serach for a
word if it exists for a given user.
So can i achieve that ? presently i know that it just searches the "data"
column irrespective of the user given.
Can someone help me
2006 Dec 06
10
Stem Analyzer
Hi all,
I am trying to implement a search that will use the Stem Analyzer. I
added the Stem Anaylzer from the examples shown in another post
http://ruby-forum.com/topic/80178#147014
module Ferret::Analysis
class StemmingAnalyzer
def token_stream(field, text)
StemFilter.new(StandardTokenizer.new(text))
end
end
end
The problem with the Stem analyzer is that when I search for a
2006 Dec 06
1
AAF - Stem Analyzer
I''m not on AAF. Can someone else help Raymond with an example?
On 12/6/06, Raymond O''connor <nappin713 at yahoo.com> wrote:
>
> Matt Schnitz wrote:
> > You also need to stem-analyze the incoming query.
> >
> > I had this same problem. :^>
> >
> >
> > Schnitz
>
> Do you have an example of how to do this? I''m using
2007 Mar 05
2
Is indexing slower?
Hi - I upgraded to Ferret 0.11.3 from 0.10.13.
I used to index 10,000 records in 10 secs. Now it takes 13 minutes.
(That''s a factor of ~75x)
Did something change in the flush semantics, or something?
Thanks!
Schnitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 30
7
Hyphens
Hi there,
I''m working with some legacy data where customer phone numbers are
stored with hyphens between the area code, exchange, and number (e.g.
555-555-5555). Is this the best way to store a phone number? Perhaps
not, but it''s the way they were being stored, so I have to work with
this format.
Right, so when I save a record the log tells me acts_as_ferret indexed
the
2010 May 31
3
after updating biomaRt cannot connect any more
I recently updated R 2.10.1 Patched (2010-02-20 r51163)
This morning I reinstalled biomaRt using biocLite.
Now I can no more connect to biomaRt and even the following instruction is hanging for a while until
the same error message pops up.
> listMarts()
Error in value[[3L]](cond) :
Request to BioMart web service failed. Verify if you are still connected to the internet. Alternatively the
2010 Jan 29
2
Suppress output from getGEO
Dear R-ers,
I am using getGEO to download expression data from the Gene Expression
Omnibus. With default settings, when a file is downloaded and parsed,
lots of dotted lines are printed in the terminal, like this:
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
..........
2010 Feb 16
1
How can I associate a list of defined names with the dataframes to be downloaded
An embedded and charset-unspecified text was scrubbed...
Name: ???????????
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100216/9b6b4555/attachment.pl>
2007 May 30
4
aaf and dynamic attrs: a bug?
Hi!
I faced some issue while using it for dynamic attrs indexing/search.
Maybe I made something wrong. Here is test method. Everything works just
fine until last line http://pastie.caboo.se/66274 . Tested on both
stable and trunk of aaf and ferret 0.11.4.
the short version of code below:
Contact.acts_as_ferret :fields => [ :first_name ]
assert
2007 Nov 16
1
problem with searching plurals (with apostrophe)
hello guys,
i am using acts_as_ferret plugin(0.4.1 Latest) with ferret gem(0.11.4 Latest)
on rails 1.2.5 and ruby 1.8.6(UBUNTU Gutsy)
i have this
:Stores Model
acts_as_ferret :fields => {:name => { :boost => 2 ,:store => :yes},
:short_desc => { :boost => 1.5,:store =>
:yes },
:tag_list => {:boost => 1