Displaying 14 results from an estimated 14 matches for "prx".
Did you mean:
pre
2011 Apr 27
6
Assignments inside lapply
Dear all I would like to ask you if an assignment can be done inside a lapply statement.
For example
I would like to covert a double nested for loop
for (i in c(1:dimx)){
for (j in c(1:dimy)){
Powermap[i,j] <- Pr(c(i,j),c(PRX,PRY),f)
}
}
to something like that:
ij<-expand.grid(i=seq(1:dimx),j=(1:dimy))
unlist(lapply(1:nrow(ij),function(rowId) { return (Powermap[i,j]<-Pr(c(ij$i[rowId],ij$j[rowId]),c(PRX,PRY),f)) }))
as you can see lapply does not return nothing as the assignment is done inside the functi...
2007 Jun 23
2
End of File Error on index optmize
...ser 22M Jun 22 22:01 _4.cfs
-rw------- 1 my_user my_user 20M Jun 22 21:19 _5.cfs
-rw------- 1 my_user my_user 41M Jun 22 22:02 _5.fdt
-rw------- 1 my_user my_user 113K Jun 22 22:02 _5.fdx
-rw------- 1 my_user my_user 0 Jun 22 22:02 _5.frq
-rw------- 1 my_user my_user 0 Jun 22 22:02 _5.prx
-rw------- 1 my_user my_user 0 Jun 22 22:02 _5.tfx
-rw------- 1 my_user my_user 0 Jun 22 22:02 _5.tis
-rw------- 1 my_user my_user 0 Jun 22 22:02 _5.tix
-rw------- 1 my_user my_user 57M Jun 22 21:19 _6.fdt
-rw------- 1 my_user my_user 161K Jun 22 21:19 _6.fdx
-rw------- 1 my_user my...
2007 Apr 14
3
Error on optimize leads to corrupt index?
The following exception occurred while trying optimize a large index:
vendor/gems/rdig-0.3.4/lib/rdig/index.rb:46:in `optimize'': End-of-
File Error occured at <except.c>:93 in xraise (EOFError)
Error occured in store.c:216 - is_refill
current pos = 0, file length = 0
Now, I get the following error any time I try to create a new index
on the directory that I was trying
2013 Jun 17
2
Backend for Lucene format indexes-How to get doclength
...bove Lucene file format, then it's hard to compare
performance between Xapian and Lucene
Some ideas:
1. Using rank algorithm without doclength, such as BM25Weight or TradWeight
without doclength, or tfidfWeight.
If ranking results will be not good without doclength?
2. Stores doclength in .prx payload when doing Lucene indexing.
https://lucene.apache.org/core/3_6_0/api/all/org/apache/lucene/index/Payload.html
http://searchhub.org/2009/08/05/getting-started-with-payloads/
But this method has obvious drawback, it's not for general Lucene index
data, if doclength is not stored,...
2013 Oct 22
0
Re: kvm/libvirt can't use vmdk files? qemu: 'vmdk' invalid format
...dkTOKVM/vmdkTOKVM.vmdk,format=?
Supported formats: raw cow qcow vdi vmdk cloop dmg bochs vpc vvfat qcow2
qed parallels nbd blkdebug host_cdrom host_floppy host_device file
[root@vmdkTOKVM]# /usr/libexec/qemu-kvm -drive
file=/mnt/vmdkTOKVM/vmdkTOKVM.vmdk,format=vmdk
qemu-kvm: -drive file=/mnt/XOcom-prx-kvm/XOcom-prx-kvm.vmdk,format=vmdk:
'vmdk' invalid format
The packages being used are:
qemu-img-0.12.1.2-2.355.0.1.el6_4.9.x86_64
qemu-kvm-0.12.1.2-2.355.0.1.el6_4.9.x86_64
qemu-kvm-tools-0.12.1.2-2.355.0.1.el6_4.9.x86_64
libvirt-0.10.2-18.el6_4.14.x86_64
Any help in this regard will h...
2006 Jun 02
1
Indexing fails -- _ntc6.tmp exceeds 2 gigabyte maximum
...t (1 million files, 350 Gb)
Code based on snippet from David Balmain''s forum posts.
After 6 hours, Ferret bails out with Ruby "exceeds max file size".
Cache:
-rw-r--r-- 1 bill bill 2147483647 2006-06-01 22:45 _ntc6.tmp
-rw-r--r-- 1 bill bill 1690862924 2006-06-01 22:42 _ntc6.prx
-rw-r--r-- 1 bill bill 646302802 2006-06-01 22:42 _ntc6.frq
-rw-r--r-- 1 bill bill 165561698 2006-06-01 22:42 _ntc6.tis
-rw-r--r-- 1 bill bill 50541430 2006-06-01 22:14 _ntc6.fdt
-rw-r--r-- 1 bill bill 8000000 2006-06-01 22:14 _ntc6.fdx
-rw-r--r-- 1 bill bill 2097842 2006-06-01 22:42...
2007 Aug 05
1
IO Errors on deleting documents with Ferret
...ely 20 minutes:
/usr/lib/ruby/site_ruby/1.8/ferret/index.rb:723:in `close'': IO Error
occured at <except.c>:93 in xraise (IOError)
Error occured in fs_store.c:264 - fs_new_output
couldn''t create OutStream /mnt/apps/search/current/../../
shared/indexes/final/_a4kx.prx: <Too many open files>
from /usr/lib/ruby/site_ruby/1.8/ferret/index.rb:723:in
`ensure_reader_open''
from /usr/lib/ruby/site_ruby/1.8/ferret/index.rb:434:in
`delete''
from /usr/lib/ruby/site_ruby/1.8/ferret/index.rb:8:in
`synchrolock''...
2004 Jan 05
1
Daemon-mode authentication documentation
...ication scheme in the rsync
man pages or on the site, as far as I can tell. So, I have 2 requests:
1. Can someone confirm that this description of the auth mechanism is
accurate?
2. Can someone update the documentation?
--
Steve Schultze
Technical Manager, The Public Radio Exchange
http://www.prx.org
2013 Jun 16
3
Backend for Lucene format indexes-How to get doclength
Hi, all:
I have wrote a demo patch for Backend for Lucene format indexes, Lucene
version is 3.6.2.
http://lucene.apache.org/core/3_6_2/fileformats.html
Now, this demo patch just support the basic features in Lucene. Compound
File(.cfs/.cfe)?term vector(.tvx/.tvd/.tvf)
delete document(.del) are not supported, skip list in .fdx is not supported
too
example/quest.cc is used to test this demo.
2007 Oct 25
2
FW: Logwatch for XXXXXXX.kd4efm.org (Linux)
Found an error or two from my logwatch report from yesterday,
thought I would share this in hopes this is just first time
run of the problem I noticed in the Kernel report section...
Also not sure why there's an issue with automount either....
but I guess I could ask on that issue as well.
I am not worried about the NAMED error, this is something that
happens due to one of the services that
2007 Jan 21
14
[ActsAsFerret] OpenSolaris (TextDrive) indexing issues
Gents,
I successfully installed AAF on my TextDrive OpenSolaris Container, but
I''m having some issues with indexing.
I have a model called Blogs which has AAF enabled.
The first time I tried to find_by_contents for a ''word'' I know was on
the Database I got now results. Apparently the index was not ready yet.
Then I waited a few hours and checked that the /index
2006 Jun 04
20
Proposal of some radical changes to API
Hey guys,
Now that the Lucy[1] project has Apache approval and is about to
begin, the onus is no longer on Ferret to strive for Lucene
compatability. (We''ll be doing that in Lucy). So I''m starting to think
about ways to improve Ferret''s API. The first part that needs to be
improved is the Document API. It''s annoying having to type all the
attributes to
2005 Dec 02
43
ANN: acts_as_ferret
Hi all
This week I have worked with Rails and Ferret to test Ferrets (and Lucenes)
capabilities. I decided to make a mixin for ActiveRecord as it seemed the
simplest possible solution and I ended up making this into a plugin.
For more info on Ferret see:
http://ferret.davebalmain.com/trac/
The plugin is functional but could easily be refined. Anyway I want to share it
with you. Regard it as a
2005 Dec 02
43
ANN: acts_as_ferret
Hi all
This week I have worked with Rails and Ferret to test Ferrets (and Lucenes)
capabilities. I decided to make a mixin for ActiveRecord as it seemed the
simplest possible solution and I ended up making this into a plugin.
For more info on Ferret see:
http://ferret.davebalmain.com/trac/
The plugin is functional but could easily be refined. Anyway I want to share it
with you. Regard it as a