search for: xapdb

Displaying 2 results from an estimated 2 matches for "xapdb".

Did you mean: sapdb
2010 Jan 28
3
Problem getting Xapian working with Burmese
...;I think nobody answered as it was hard to follow your example because >the Burmese characters seem to have been mangled (at least the message I >received wasn't valid utf-8). > >But looking at the code, I see an issue: > >> my $db = Search::Xapian::Database->new( './xapdb' ); >> my $enq = $db->enquire( $ARGV[0] ); > >What this does is to create an Enquire object and set Query($ARGV[0]) as >the query. That works OK if $ARGV[0] is a single word which gets >indexed as a single term, but you really want to parse the query string >to get a Qu...
2010 Feb 18
2
xapian.DocNotFoundError: regression?
...tently be raising xapian.DocNotFoundError. I've attached a small test case which reproduces this. The same test case works fine with 1.0.16 (not the latest 1.0.x, but it's what I had installed). Program output with 1.1.3 (core) / 1.1.4 (bindings): tack at orion:~$ rm -rf xapdb/; python xaptest.py Traceback (most recent call last): File "xaptest.py", line 23, in <module> print enquire.get_mset(0, 10) xapian.DocNotFoundError: Document 2 not found Program output with 1.0.16: tack at orion:~$ rm -rf xapdb/; py...