Displaying 4 results from an estimated 4 matches for "result_set".
Did you mean:
result_sat
2005 Nov 26
3
Get number of found documents
Hi David again.
I would say that Ferret works great with Rails.
And now I am trying to create pagination. Because site could have millions
of documents I need to create on page link something like
"Page #100". Rather usual situation.
But to create this links I need to know how many documents Ferret found in
index.
For now I am doing it with following code
index =
2006 Mar 29
1
Using boolean terms in PHP bindings
..., $db);
//set prefix
queryparser_add_boolean_prefix($query_parser, "XC", "1");
//parse and create the query
$query = queryparser_parse_query ($query_parser, $_REQUEST["search"]);
$enq = new_enquire ($db);
enquire_set_query ($enq, $query);
$result_set = enquire_get_mset ($enq, 0, 10);
$item = mset_begin ($result_set);
2006 Jan 02
9
Generating nice tables
Making tables in templates is pretty easy, except for one minor problem.
They tend to be fairly ugly.
If you have a model with three attributes, it''s very easy to create an
html table that looks like this..
Col1 Col2 Col3
A B D
A B E
A C F
A C G
Which becomes difficult to read when you have a lot of repeated data.
What I would really like to generate
2006 Mar 28
74
Is this an elaborate hoax/troll?
I sure hope so:
http://duckdown.blogspot.com/2006/03/additional-thoughts-on-why-ruby-isnt.html
Seems like it''s getting genuine rebuttals, though. It''s actually kind
of amusing.