Displaying 20 results from an estimated 200 matches similar to: "buffered tables, sessions, and transactions"
2013 Jun 19
2
Compact databases and removing stale records at the same time
I'm trying to compact (or at least merge) multiple databases, while stripping search records which are no longer required.
Backstory:
I've inherited the Cyrus IMAPd xapian-based search code from Greg Banks when he left Opera.
One of the unfinished parts was removing expunged emails from the search database.
We moved from having a single search database to supporting multiple
2008 Mar 14
0
Adding before / after blocks to every spec
Folks,
I was wondering if someone would be able to help me out with a quandry.
I''m trying to write an rspec plugin module for merb that will run all
specs within an ActiveRecord (initially) database transaction - to
give functionality similar to rails transactional fixtures.
Here is the module:
module Merb
module Test
module TransactionalSpecs
def begin_transaction
2004 Aug 11
1
goodbye QuartzBufferedTable
I've finally managed to sort out the problems with my patch to eliminate
QuartzBufferedTable and checked it in. I'm currently building a large
database to test this. The rate was quite a bit faster initially but
after around 200K documents it has settled down to being very slightly
faster than before.
Even if the eventual rate is much the same, this at least improves the
time taken to
2018 Mar 30
2
sorting large msets
Hello, is there a way to optimize sorting by certain values
for queries which return a huge amount of results?
For example, I just want a simple query that gives me the 200
most recent emails out of millions. The elapsed time for
get_mset increases as the number of documents ($n * 2000)
increases.
I suppose I could store a pre-sorted set using SQLite or
similar. Thanks in advance for any
2023 May 03
1
manual flushing thresholds for deletes?
Olly Betts <olly at survex.com> wrote:
> On Mon, Mar 27, 2023 at 11:22:09AM +0000, Eric Wong wrote:
> > Olly Betts <olly at survex.com> wrote:
> > > 10 seems too long. You want the mean word length weighted by frequency
> > > of occurrence. For English that's typically around 5 characters, which
> > > is 5 bytes. If we go for +1 that's:
2023 Mar 27
1
manual flushing thresholds for deletes?
On Mon, Mar 27, 2023 at 11:22:09AM +0000, Eric Wong wrote:
> Olly Betts <olly at survex.com> wrote:
> > 10 seems too long. You want the mean word length weighted by frequency
> > of occurrence. For English that's typically around 5 characters, which
> > is 5 bytes. If we go for +1 that's:
>
> Actually, 10 may be too short in my case since there's a
2012 Aug 24
4
[PATCH] Btrfs: pass lockdep rwsem metadata to async commit transaction
The freeze rwsem is taken by sb_start_intwrite() and dropped during the
commit_ or end_transaction(). In the async case, that happens in a worker
thread. Tell lockdep the calling thread is releasing ownership of the
rwsem and the async thread is picking it up.
Josef and I worked out a more complicated solution that made the async
commit thread join and potentially get a later transaction, but
2010 Jun 09
1
TermGenerator incorrectly tokenizes German text which contains special characters
Dear Xapian users,
I try to index some German text with Xapian using the xapian_php bindings. I
run Apache 2.2 on Windows using PHP 5.2.13 with the pre build xapian
bindings from Flax:
Xapian Support enabled Xapian
Compiled Version @PACKAGE_VERSION@
Xapian Linked Version 1.2.0
The problem is that after indexing text which contains special characters
like ?, ?, ? and ?, using
2013 Feb 28
0
Implemented test coverage for using TradWeight with an Rset
Hello guys. Olly had pointed out on IRC that there is no test for using the
TradWeight scheme with a Rset and had directed me to the test coverage of
the TradWeight scheme :-
http://lcov.xapian.org/latest/weight/tradweight.cc.gcov.html
I have added a test to api_anydb.cc which tests the TradWeight scheme using
an Rset . I simply modified the rset2 test in api_anydb.cc so that the Mset
is made
2017 Mar 31
0
possible memory leak in ldb module while dbcheck on RODC
What is the ldb version your using?
You need : 1.1.29 with samba 4.5.7.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Andrej Gessel via
> samba
> Verzonden: vrijdag 31 maart 2017 8:55
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] possible memory leak in ldb module while dbcheck on
> RODC
>
2011 Apr 07
1
Problems with /bin/cat and flintlock?
Hi Guys,
I'm working on some integration project with Ruby, Rack, Apache, Phusion Passenger and Xapian.
I've been having intermittent issues with the flintlock code - it seems that the function FlintLock::lock is never returning and this is locking up the Ruby process.
My guess is that Xapian is locking up in a system call and Ruby can't schedule its green threads.
I've done
2013 Mar 03
0
Sent a pull request for testing TradWeight using an Rset.
Hello guys.As discussed on IRC,I have sent a pull request for a test for
testing TradWeight with an Rset.
On Fri, Mar 1, 2013 at 5:30 PM, <xapian-devel-request at lists.xapian.org>wrote:
> Send Xapian-devel mailing list submissions to
> xapian-devel at lists.xapian.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
2016 Jul 29
2
Weighting Schemes: Implementing Piv+ Normalization
> `ptr` is, if I inferred correctly, a `const char *`. (I'm not sure,
> because I don't know why you're incrementing it. Please push your code
> to github if you need further help so people can see the entire
> context of your changes.)
I've pushed all the changes I made so far
https://github.com/xapian/xapian/compare/master...ivmarkp:piv+?diff=split&name=piv%2B
2017 Mar 31
2
possible memory leak in ldb module while dbcheck on RODC
Hai Andrej,
Oeps, Sorry, my mistake 4.6.x needs at least 1.1.29.
But you can upgrade to 4.6.x ;-)
Check again and if that problem then still exists,
then i think you can better ask this one in the samba-technical list.
Or if Rowland knows something more about this.
One tip, wait untill tomorrow or the weekend, there wil be a new release due to the regression bug.
There planning is to be
2006 Mar 01
0
rails equivalent of autoflush
Hello,
Is there an option in rails that will tell the action to output data
to the browser immediately rather than waiting until it''s completely
done. In the perl/mason world there is an autoflush command that does
what I''m looking for.
Thanks,
Mark
2005 Sep 09
7
[PATCH 0/6] jbd cleanup
The following 6 patches cleanup the jbd code and kill about 200 lines.
First of 4 patches can apply to 2.6.13-git8 and 2.6.13-mm2.
The rest of them can apply to 2.6.13-mm2.
fs/jbd/checkpoint.c | 179 +++++++++++--------------------------------
fs/jbd/commit.c | 101 ++++++++++--------------
fs/jbd/journal.c | 11 +-
fs/jbd/revoke.c | 158
2011 May 14
3
regpatch writing to local registry hive with -F not working (registery-utils 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1)
Hi,
I was hoping I could modify a locally mounted registry hive using
regpatch and a .reg file but the -F argument seems to have no function.
(Strace shows it ignores it and just operates
on /var/lib/samba/private/hklm.ldb)
Below is output with debug on.
rfm6 at ubuntuSSDx64:cp /mnt/xp/WINDOWS/system32/config/software /tmp/software
rfm6 at ubuntuSSDx64:/tmp/config$ sudo regpatch -d=10 -F
2010 Aug 04
6
[PATCH -v2 0/3] jbd2 scalability patches
This version fixes three bugs in the 2nd patch of this series that
caused kernel BUG when the system was under race. We weren't accounting
with t_oustanding_credits correctly, and there were race conditions
caused by the fact the I had overlooked the fact that
__jbd2_log_wait_for_space() and jbd2_get_transaction() requires
j_state_lock to be write locked.
Theodore Ts'o (3):
jbd2: Use
2008 Feb 12
0
Running a perl script in a rails application
I have a perl script that will be executed in one of my controllers
and will produce text output for a period of time. When I hit my rails
app, the page doesn''t render until the perl script has fully completed
running and then I''ll see all the output in one shot. I know with CGI
I can just autoflush to see the output as it''s produced. Is there some
similar functionality
2009 May 27
1
avoiding spanning packets
Monty,
I recently noticed half a patch in my libogg tree, and thought I'd
forward it for discussion. I did this some time ago when were were
talking about the long pages issue.
The basic idea is to allow pages to grow up to 100% above the flush
threshold if this allows us to end at a packet boundary. This reduces
the frequency of pages with spanning packets which should be some
assistance to