Displaying 20 results from an estimated 3000 matches similar to: "querying returned results"
2006 Jul 19
4
sorting and pagination
Hello All,
Okay i think I''m finally getting all of what i want out of ferret
working, thanks mostly to reading this forum and also getting ALOT of
questions answered, thanks alot everyone. Anyway my last ferret task is
too get the results sorted by a field called date_registered and have
this working with pagination.
here is what i''m doing at the moment:
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 Aug 28
1
stop words and /''s
Hi new version of ferret and acts as ferret have sorted out the scary
glibc *** linked list pointer errors, thank god! New version are good
but some searches are still not working. It is mostly the stop words
ones. For example the "For Sale/Free/Swap" fails but works when "for" is
stripped out. I have read all the recent posts regarding this issue and
failed to get it to
2006 Sep 05
15
ferret finds ''tests'' but not ''test''
Hello all,
Quick question (possibly!) - I''ve got a few records indexed and doing a
search for ''test'' reports in no hits even though I know the word ''tests''
exists in the indexed field. Doing a search for ''tests'' produces a
result. I would have thought that ''test'' would match ''tests'' but no such
2006 Jul 07
1
querying the SearchResults instance
Hi how do you search against the results returned by find_by_contents
using ferret?
i.e. how do you "search within these results"?
This is an acts_as_ferret question again...
thanks in advance..
cheers
caspar
--
Posted via http://www.ruby-forum.com/.
2006 Aug 20
1
sorting with booleans
Hi i have a column in my ferret model called sponsored. It is a boolean
and i want to order the results by sponsored and date registered. At the
moment it is not managing to sort the booleans.
I tried declaring this in my model but it seems to have had no effect.
def false.<=>(o) o ? -1 : 0 end
def true.<=>(o) !o ? 1 : 0 end
I''m using the acts_as_ferret plugin.
below
2006 Sep 03
9
using highlight from aaf
Hi,
I''m trying to use highlight ferret method with trunk aaf and 0.10.1
ferret.
In my search display I use:
Myindexedclass.ferret_index.searcher.highlight(@query, result_line.id,
:content)
* searcher is a protected method; how can I access to the searcher from
aaf ?
* is the doc id in aaf the same as my model id ?
* is the first param, query, the string query or the query object ?
2006 Aug 26
7
Erratic behavior with ferret 0.95 and acts_as_ferret
I am getting this issue also... Does anyone know what this is? When will
Acts as Ferret be available for v10?
Thanks for your help in desperation!
Caspar wrote:
> Okay previous post related to me trying to fix this problem with an
> upgrade to ferret 0.10.0 but acts as ferret is obviously not compatible
> with this new version of ferret.
> My app is about to go into production and
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 Jul 14
3
Scaling Ferret Beyond One Server
Hi Everyone,
I was wondering if folks here have had experience scaling Ferret beyond a
single server? Currently, we are running Ferret in the same physical server
as its Rails front end (via acts_as_ferret), but it is evident that we need
a more scalable solution already. How would you split up the tasks (via dRB
perhaps?) between two or three servers? Shared disk, replicated Ferret
index (?),
2006 Oct 16
10
Sorting by score
Hi I think this is a very easy question but here goes:
I want to sort my results by a boolean field and then by score, I
thought this would be a default configuration but apparently not.
sort_fields = []
sort_fields << Ferret::Search::SortField.new(:sponsored, :reverse =>
:true)
that is my current code, how do iu alter it so that the results are then
sorted by highest score first?
2007 Feb 19
2
Acts_As_Ferret Tutorial
Hey guys,
I wanted to share with you guys a detailed tutorial I just
finished this weekend for using Acts_As_Ferret.
http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial
I started using Ferret and Acts_As_Ferret a few weeks ago, and I
learned so much that I wanted to give back to the community by writing
up a helpful tutorial that covers all the key topics in one
2006 Jul 10
11
Category Number Results returned
I am looking to have a number of categories populated from my results of
a search. For example, searching on "sport" would display all results
for sport. I want to also have a number of categories to refine the
documents down. So by clicking on the "Fishing" category or the
"Shooting" category, I would only see the results on sport around that
category.
Now for
2006 Sep 26
3
concurrency / #search_each problem / segfault
Hello everyone,
I was stress-testing my application (running on Rails via FastCGI) by
letting two concurrent users (not human .. an app called ''siege'')
a) save an Article and b) search for all Articles.
I am searching via
Article.ferret_index.search_each( ..) do |doc_id,score|
doc = index[doc_id]
..
end
and writing via
Article.ferret_index <<
2006 Sep 26
1
RAMDirectory with acts_as_ferret
Hi There,
Is anyone using RAMDirectory as the data store with acts_as_ferret? I would
love some pointers on how to configure acts_as_ferret to correctly use
RAMDirectory (rather than FSDirectory).
Thanks in advance.
AC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20060926/bd1230c5/attachment-0001.html
2006 Jun 22
3
Partition results based on field
Hello all
I''m using Ferret for a site wide search where I have several kinds of
(similar) objects in a central index (using a "type" field containing
the class name). This works great, and I can search all objects with one
query.
What I''d like to do now is to limit the results so that there will be a
maximum of 10 (or 5 or whatever) results for each type.. I
2007 Mar 28
4
retrieving search result positions
Hi
I''m considering using Ferret in v2 of Weft QDA, a wxruby desktop
application for textual analysis in social science.
Ferret seems a very impressive package that meets and exceeds my
requirements, but I can''t find how to retrieve specific details about
the results.
I''d like to be able to run fairly simple queries. I then need to look at
each term match, and get
2006 Aug 14
3
Ferret 0.9.5
Hi,
I was wondering if the latest version of acts_as_ferret (0.2.2) that is
listed on http://projects.jkraemer.net/acts_as_ferret/ is compatible
with the latest version of Ferret 0.9.5. I noticed that the website
above stated that it was supposed to work with 0.9.4, but I didn''t see
anything about 0.9.5.
Thanks,
Aaron
--
Posted via http://www.ruby-forum.com/.
2006 Oct 31
5
conditional boost? friends to come up at top of search...
Hey guys, im trying to get my friends to come up at the top of the act
as ferret search. I would query the whole result set first, then move my
friends to the top, but the thing is, Im paginating my results and use
the offset and limit parameters in the multi_search() function.
Anyone know how to do this?
Thanks in advance...
--
Posted via http://www.ruby-forum.com/.
2008 Mar 17
2
stepAIC and polynomial terms
Dear all,
I have a question regarding the use of stepAIC and polynomial (quadratic to be specific) terms in a binary logistic regression model. I read in McCullagh and Nelder, (1989, p 89) and as far as I remember from my statistics cources, higher-degree polynomial effects should not be included without the main effects. If I understand this correctly, following a stepwise model selection based