Displaying 20 results from an estimated 600 matches similar to: "Category Number Results returned"
2006 Jul 10
3
Plurals and synonym lists
I want to correct spelling errors automatically. I have used search in
the past where I can pass an argument through standard search to correct
a word with up to 2 spelling errors for example or do the more Google
like "Did ya mean?". In this case I just want to change it automatically
and search. I am not too interested in specifying the number of
characters it is out by.
What is
2006 Jul 14
3
Whitespace Issues
I am trying to build up a filtered search using the logic below.
bq = Ferret::Search::BooleanQuery.new
bq.add_query(Ferret::Search::TermQuery.new(Ferret::Index::Term.new("section",section.downcase!)),
Ferret::Search::BooleanClause::Occur::MUST)
filter = Ferret::Search::QueryFilter.new(bq)
@vobjects = VoObject.find_by_contents(search_input,:filter =>
filter, :sort
2006 Sep 07
7
counting occurences of words in the result set
Hello, I need to be able to count the occurences of certain terms in the
reults.
Currently my setup is Ferret 0.10.1 aaf bleeding edge.
results = VoObject.find_by_contents(query,:offset=>page, :limit=>
20,:sort => sort_fields)
I use results.total_hits for pagination. This all works really nicely.
However i need to be able to know how many occurences of certain
predefined terms occur
2006 Sep 20
3
Range searches some times they work, some times not...
Hi i''m using ferret to enable geographical postcode. I take a postcode
and distance in miles from the user, strip off the outcode and then
retrieve the associated x y coordinates in metres from the db. Then i
get two temp x''s and y''s and search for all results that are within the
box, see code below.
Problems start to occur when i search on big distances so for
2003 May 13
4
Maximum file size??
Hi there,
I'm running Redhat Linux V8.0 using ext3 file system and I'm wondering what
the maximum file size allowed is? I've got some potentially humunguous
logfiles I need to store that could likely be around 4-8GB per day and just
want to make sure I don't run into problems.
TIA!
Kevin Cavanagh
2007 Aug 23
4
scoring problem in acts_as_ferret
Hi,
I am using acts_as_ferret and have a problem with scoring. I would like
to organize it in such way that, if any of the searched terms fits, I
get 1.0 score as a result. I will explain it on the example.
I have in index:
a) "one two three four"
b) "one two three"
c) "one two"
d) "one"
When I search for "one" I would like to get 1.0 score for
2006 May 31
5
Help with sorting arrays with objects in it
I have to build an array through both activerecord and also through a ferret
index.
I was hoping to find a way of sorting the array as i combine the two so
def advanced_search(search_text, store, format, sortby)
# find items in ferret index
items = Item.find_by_contents(search_text)
# and now find all the items from a certain store or category
items_from_sql = Item.find_by_sql("SELECT *
2011 Mar 04
2
Anyone know a forum for stats advice?
Hi,
I know this forum is for R-related issues, but the question I have is a statistical question & I was wondering if anyone could recommend a good statistics forum where I can ask the question? My question is relating to bootstrapping of binary data (ecology data) - I can give more detail, but wasn't sure I could address the question here as it is more statistical based than R based
2006 Jul 09
3
acts_as_ferret.. what does it actually do?
Okay in this plea for help I''m going to repeat some of what i posted
before but with a larger amount of background info in the hope that i
can get a decent grip on ferret before it wriggles away..
Firstly, what does installing the acts_as_ferret plugin actually do? I
install it and add it to my model and then the index is automatically
generated and a few methods are added to it and
2006 Sep 30
2
Blistit - on web in Beta
I would like to thank everyone who has been of great assistance on this
project using ROR, AJAX and most importantly Ferret. I would especially
like to thank David and Jens for their help. Quite frankly this project
would not have got to this stage without your help and we at Blistit
appreciate it! I saw your post David with regards to putting food on the
table and when we are able to put
2006 Aug 29
6
adding new items to index breaks searches with *
Hi after upgrading to ferret 0.10.1 and bleeding edge aaf i''m getting
some strange behavior. Generally much better stability with new version
of ferret but when i add new items for some reason i can no longer
search with a *. Or rather i can but it returns no results and no
errors. I can search and get results normally on other searches and when
i rebuild the index i can search with
2011 Mar 03
2
PCA - scores
I am running a PCA, but would like to rotate my data and limit the
number of factors that are analyzed. I can do this using the
"principal" command from the psych package [principal(my.data,
nfactors=3,rotate="varimax")], but the issue is that this does not
report scores for the Principal Components the way "princomp" does.
My question is:
Can you get an
2006 Jul 14
18
adding a custom filter to the query
Hi all,
I''m trying to figure out how to add a filter into a search. I''ve
created the filter, basically copying the location filter from
http://blog.tourb.us/archives/ferret-and-location-based-searches. But
when I try to call Index.search and pass the filter in a hash with the
key :filter, I get back that it is expecting type Data, and so I''m at
a loss to figure out
2011 Jan 18
1
Circular variables within a GLM, GLM-GEE or GAM
Hi,
I have a variable (current speed direction) which is circular (0=360 degrees), and I'd like my GLM to include the variable as a circular variable. Can I do this? And what is the code?
I'm actually doing a GLM-GEE using the 'geepack' package, so want to use it in that, but also interested in whether it can also be used in GLMs and GAMs (I use the 'mgcv' package for
2006 Aug 04
1
incorrect checksum for freed object?
I''m using ferret (0.9.4) in rails, but outside of the "acts_as_ferret"
plugin. Whenever I use a QueryFilter (even a very simple one), the server
will crash after one, two, or three reloads of a page (same page, same
query, same filter). It''s very non-deterministic and I can''t seem to
reproduce it outside of my application environment (I can''t get it
2007 Oct 25
2
kmod-drbd
hi, I was following this wiki http://wiki.centos.org/HowTos/Ha-Drbd for
my CentOS 5 installation, but it appears that the kmod-drdb is not for
the newest kernel. Would anyone know how long before this is updated?
kmod-drbd i686 8.0.6-1.2.6.18_8.1.14.el5 extras
kernel i686 2.6.18-8.el5 installed
2007 May 10
13
Is there a way to do incremental search?
Say the user first enters "ruby" for search and gets 1000 results. Then
he can search "rails" just in the 1000 results just returned.
The common scenario is some kind of advanced search. User can
incrementally add criteria and the program will narrow the results step
by step.
I know that at least I can use all the criteria as a whole to do the
searching, but this is a waste
2007 Dec 05
1
Installing hdf5
Hello,
I want to install hdf5 libraries for R and I get the same error as posted
below whether I try install.packages("hdf5") from R command prompt or the
command line installation below. I would appreciate if any one could help me
on this.
[alamj@thor hdf5]$ ./configure --with-hdf5=/bluejay/apps/HDF5-1.6.6/x86_64
checking for gcc... gcc
checking for C compiler default output... a.out
2008 Jul 09
4
NOW: Firefox 3.0 and GNOME crash when trying to view SME Server documentation WAS: OT: anything in CentOS 5.2 that uses opendns.com when browsing web?
On 7/8/08, Marko A. Jennings <markobiz at bluegargoyle.com> wrote:
> On Tue, July 8, 2008 10:03 pm, Stephen John Smoogen wrote:
>> On Tue, Jul 8, 2008 at 7:56 PM, Lanny Marcus <lmmailinglists at gmail.com>
>> wrote:
>>> On 7/8/08, Lanny Marcus <lmmailinglists at gmail.com> wrote:
>>>> On Tue, Jul 8, 2008 at 8:00 PM, Ross Cavanagh
2008 Jan 24
5
DVD support on CentOS 5.1
Hello out there!
Been around the block trying to get DVD support for Totem, but I keep
running into dead ends everywhere I go. Looking for CentOS 5.1-compatible
xine and xine-lib packages as that seems to be the answer, but the only ones
I find (like on DAG) seem to be just dead links or I get a message that the
mirrors are unavailable when I try to run the rpm.
Can anyone provide a link