search for: sorter

Displaying 20 results from an estimated 28 matches for "sorter".

Did you mean: shorter
2006 Feb 02
2
uninitialized constant
Ok, I searched but couldn''t find anything and I even tried the RoR IRC channel with no help. I get this error: uninitialized constant Airport I used this code which I got from the RoR site. helper :sorting def list @sorter = SortingHelper::Sorter.new self, %w(icao host_id name), @params[''sort''], @params[''order''], ''icao'', ''ASC'' @pages = Paginator.new self, Airport.count, 10, @params[''page''] @airports = Airport.fin...
2008 Apr 23
0
self referential (n-n relationship) belongs many controller
...safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html) verify :method => :post, :only => [ :destroy, :create, :update ], :redirect_to => { :action => :list } def list @task_pages, @tasks = paginate :tasks, :per_page => 50 @statuts=Statut.find_all @sorter = SortingHelper::Sorter.new(self, params[''sort''], params[''order''], ''id'', ''ASC'') search = {:id => @params[:id], :statut_id => @params[:statut_id], :description => @params[:description], :acteur => @params[:acteur...
2010 Aug 27
1
Using relevance when sorting by generated key
...using PostingSource in order to implement a custom weighting scheme that would combine BM25 weighting and distance. The problem is that I am using perl and PostingSource is not available for perl. Besides, I find this solution unnecessarily complicated. A more simple solution would be if the sorter in Xapian::Enquire::set_sort_by_key provided an extra argument for Xapian::Sorter::operator, namely the weight of the current document with respect to the current query. Does this make sense? Is it possible to implement something like that in some future version of xapian?
2009 Jan 29
1
Xapian Ruby bindings do not implement full multi-value-sorting functionality?
Hello, this is a question that could be answered by collaborators of the Ruby bindings. Today I've played around with the Xapian::MultiValueSorter class. I've set everything up and then I tried following on an instance of Xapian::Enquire: : enquire = Xapian::Enquire.new(database) enquire.query = options[:query] : sorter = Xapian::MultiValueSorter.new sorter.add(0, true) sorter.add(1, true) : enquire.sort_by_key_then_relevance(sorter) :...
2013 Feb 20
1
Sticky results
Hi there, I have a xapian index whose results are being sorted by a value, with (PHP bindings): $enquire->set_sort_by_value($sort_data_value); This is because I want the results returned in chronological order of publication date. However, I now have a need to have certain results be 'sticky' at the top of the resultset, regardless of their publication date. Obviously there are
2006 Apr 16
11
Best way to sort categories w/ pager
Ahoy, I made this pager, " def list @item_pages = Paginator.new self, Item.count, 10, @params[''page''] @items = Item.find :all, :conditions => "category_id = #{params[:condition]}", :limit => @item_pages.items_per_page, :offset => @item_pages.current.offset @categories = Category.find_all
2007 May 19
0
database outputting results twice per page (using pagination + sorthelper)
...ot;#">Hype</a> ( +45 ) or <a href="#">Drop</a> ( -7 ) <span id="subtext"> </span></span> </div></ div><br><br> <% end %> Controller ------------------------------ def upcoming @total = Albums.count @sorter = SortingHelper::Sorter.new self, %w(artist album date), @params[''sort''], @params[''order''], ''date'', ''ASC'' @albums_pages = Paginator.new self, Albums.count, 5, @params[''page''] @upcoming = Albums.find...
2010 Feb 01
6
Import fixed-format ascii file with mixed record types
I need to import several ascii files in fixed format with two different record types. The data comes from European Labor Force Surveys, wich is a household survey. The first record type is for people over 16 years, and the second much sorter is for people aged 15 or less (this record has a filler with several blanks to get the same record length). The files tipically have 160000 records, with 176 characters per record, the data is numeric, corresponding to 102 variables, mostly integers (seven variables have two decimals). My opertatin...
2008 Oct 09
3
Sorting results by a "sort expression"
Olly, We currently use Sphinx for our website search function, but we're planning on using Xapian instead for a few of the extra features it has. Our website is written in Ruby on Rails, so of course we're using Xapian with Ruby bindings. I don't know if you're familiar with Sphinx but Sphinx allows you to pass a sort expression when you execute the search that will be evaluated
2006 Apr 24
2
sortable table rows?
I''ve been trying to make some table rows sortable using Scriptaculous. I''ve used: Sortable.create("secondlist", {tag:''tr'', treeTag:''table''}); and Sortable.create("secondlist", {tag:''tr''}); Neither of which works. Is it even possible to do this? Thanks, Daniel
2011 Feb 25
0
Help with card-sorting experiment
...this list, so if I'm doing something wrong, please let me know. Also, if there is a searchable forum where I can find help, that would be good too. I'm doing a card sorting experiment, and I'm having problems imputing my data into R for later analysis. This is what I get from each sorter: Category Name Card numbers Group 1: 1,3,5,7,9 Group 2: 2,4,6,8,10 I would like to use the adjusted Rand index to compare each sorter. As an input the ARI needs a vector like this: "Group 1" "Group 2...
2010 Aug 23
1
Sort ordering
Using MultiValueSorter, I can sort by key1, key2, relevance; or relevance, key1, key2. But AFAIK, I can't sort by key1, relevance, key2. Unless I spool out the entire result set or write some C++. I wonder if we need a new 'sort by' function that accepts any combination of keys and relevance in any order? T...
2009 Jan 17
0
libtheora fails to compile examples on Solaris
...ake[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/quix0r/more/libtheora-1.0' make: *** [all] Error 2 bash-3.2$ As I can remember from other libs, their configure script checks for that missing alphasort symbol and if it is missing, like on my machine, it tries other sorter as well. Maybe you can rewrite your configure script for checking the existence of alphasort? Unfortunally I am not a C++ guru and I don't know an other sorter. Regards, Roland
2009 Apr 23
1
Failing to print mer object in an RData image
...Windows XP or Ubuntu 8.10, don't remember anymore). Now I want to open it in R 2.9.0 on Ubuntu 8.10. I use # load workspace load("name.RData") which seems to work: ls() # all objects in there [1] "all" "all.dd" "model.01" "model.sorter" It also recognizes the class of model.01: > class(model.01) [1] "mer" attr(,"package") [1] "lme4" But when I want to print it or look at its structure: print(model.01) Error in slot(value, what) : no slot of name "Xst" for this object of class...
2007 Oct 23
1
Samba, AD and non AD Machines
...10/23 03:05:17, 3] auth/auth.c:check_ntlm_password(221) check_ntlm_password: Checking password for unmapped user [domain]\[acronis]@[COMPUTER] with the new password interface [2007/10/23 03:05:17, 3] auth/auth.c:check_ntlm_password(224) check_ntlm_password: mapped user is: [domain]\[acronis]@[SORTER] [2007/10/23 03:05:17, 3] smbd/sec_ctx.c:push_sec_ctx(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2007/10/23 03:05:17, 3] smbd/uid.c:push_conn_ctx(345) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2007/10/23 03:05:17, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stac...
2010 Jul 15
13
The perils of GMAX
gmax won't start up after the initial time. The messages I am getting indicate that it has become case sensitive with respect to names. The installer put in a directory named 'stdplugs' but the program wanted it to be 'StdPlugs'. So I renamed it. It still says these libraries fail to initialize. I must be missing a windows module but I did put in the recommended winetricks
2015 Jun 10
1
make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0
.../search.t (Wstat: 3840 Tests: 122 Failed: 15) Failed tests: 60, 62, 70-71, 73, 90, 97, 100, 105, 108 111, 114-115, 118, 121 Non-zero exit status: 15 Files=1, Tests=122, 0 wallclock secs ( 0.22 usr 0.01 sys + 0.41 cusr 0.02 csys = 0.66 CPU) Result: FAIL FAIL: t/search.t ./t/sorter.t .. ok All tests successful. Files=1, Tests=39, 0 wallclock secs ( 0.15 usr 0.00 sys + 0.28 cusr 0.01 csys = 0.44 CPU) Result: PASS PASS: t/sorter.t ./t/stem.t .. ok All tests successful. Files=1, Tests=2, 1 wallclock secs ( 0.13 usr 0.01 sys + 0.23 cusr 0.01 csys = 0.38 CPU) Res...
2017 Oct 21
1
split() - unexpected sorting of results
...racter(x)[i] #[1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" Unfortunately this does not solve the OP's question, factor(), as.factor(), split() and others use the base R sorter and this can only be changed by changing their sources. Hope this helps, Rui Barradas Em 21-10-2017 00:32, Herv? Pag?s escreveu: > Hi, > > On 10/20/2017 12:53 PM, Peter Meissner wrote: >> Thanks, for the explanation. >> >> Still, I think this is surprising bahaviour w...
2010 Aug 28
3
Drag'n drop with word 2007
Hello all ! Sorry if the question have been already asked many times... I just want to know if it's possible to drag'n drop images into word 2007. Currently i have an error message related to encoding problem. Thanks
2007 Oct 23
0
Samba, AD and non AD Machines
...10/23 03:05:17, 3] auth/auth.c:check_ntlm_password(221) check_ntlm_password: Checking password for unmapped user [domain]\[acronis]@[COMPUTER] with the new password interface [2007/10/23 03:05:17, 3] auth/auth.c:check_ntlm_password(224) check_ntlm_password: mapped user is: [domain]\[acronis]@[SORTER] [2007/10/23 03:05:17, 3] smbd/sec_ctx.c:push_sec_ctx(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2007/10/23 03:05:17, 3] smbd/uid.c:push_conn_ctx(345) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2007/10/23 03:05:17, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stac...