Displaying 14 results from an estimated 14 matches similar to: "Crashes with spelling enabled and perl."
2007 Nov 14
1
Problem indexing text with spelling enabled in Perl
Hi All,
I'm using the TermGenerator::index_text() on version 1.0.4 with the
FLAG_SPELLING turned on, because the new spelling suggestion stuff
seems awesome, but I'm getting a segv.
(gdb) bt
#0 0xb7ae153c in Xapian::WritableDatabase::add_spelling
(this=0xa553988, word=@0xbff97724, freqinc=1) at ./include/xapian/
base.h:154
#1 0xb7becf47 in
2006 Jun 03
2
Initial patch for ExternalPostList
Hi Everybody,
Here is the first version of my match for an ExternalPostList, it
should apply cleanly to 0.9.5 and 0.9.6.
You can use it by first implementing an ExternalPostingSource, then
creating a new Query object passing a reference an instance of your
implementation to the constructor, see query.h. The
ExternalPostingSource implementation is reference counted, so when
its no
2010 Jun 10
0
Exception: Key too long
Started a new thread - don't want to hijack the previous one (or carry on
hijacking it).
On Thu, June 10, 2010 05:17, Olly Betts wrote:
>> My issue is that exceptions (ie, "Exception: Key too long: length
>> was...")
>
> You are hitting the Btree key size limit. For flint and chert, this
> translates to a term length limit of 245 bytes.
> If you are using
2009 Dec 22
1
Patch submission
Greets,
Please find attached a patch (against current svn) for consideration. It
covers a few missing elements on the Perl side of things:
add_spelling() and test/s.
remove_spelling() and test/s.
get_corrected_query_string() and test/s.
get_spelling_suggestion() and test/s.
man pages for the above and for WritableDatabase::close() are also patched.
Please let me know of any errors (especially
2008 Nov 26
1
Trying to patch xapian perl add/remove_spelling
Greets,
I'm giving a stab at patching the CPAN module to add the missing
WritableDatabase::add_spelling and remove_spelling, but need a bit of
guidance since I'm coming in cold, and pressed for time (aren't we all).
I've modified XS/WritableDatabase.xs and added the two necessary
functions, and also added the two basic tests in t/index.t.
Compilation completes cleanly, but
2013 Apr 26
1
remote backend
So, given what I've read in the documentation I would create a text file named document_database.txt that might have the following:
remote 192.168.1.10:30000
chert /var/lib/xapian_database/segment1
remote 192.168.1.10:30000 chert /var/lib/xapian_database/segment2
remote 192.168.1.10:30000 chert /var/lib/xapian_database/segment3
etc.
I would then in my PHP program open
2015 Jul 23
1
Get term from document by position
Hello. Is there any FAST way to get a term from the xapian document by it's position, something like
std::string term = Xapian::Document::GetTermByPosition(int position) ?
Below i have described a task that i am trying to solve, in case if somebody is interested.
============================================================================
When displaying search results, i would like to
2007 Nov 08
1
QueryParser : some remarks
Hi to all,
First, I would like to say a big thank you for the work which was done
on my 'wish bug' to allow mapping one field to multiple prefixes
(http://www.xapian.org/cgi-bin/bugzilla/show_bug.cgi?id=93).
That's great!
I have upgraded to 1.0.4 and I am revisiting my code, replacing the php
query parser I wrote with Xapian's one.
Everything works well, but I have some
2008 Apr 24
3
how to delete all document from the DB (without deleting the DB itself)
Hello,
I'm still testing PHP5 bindings and I could'nt find a way to delete
all documents from a DB without deleting other informations stored in
the DB such as synonyms.
Since the process of adding synonyms is time consuming, I would like
to use the same DB but restart my test without any document in the DB,
is this possibile?
I could'nt find a delete_all or a method like that, nor
2006 Apr 05
1
build error : xapian-core-0.9.4_svn6707 with UTF-8 patch
This is another error different from the previous posting.
I want to compile xapian-core-0.9.4_svn6707 with UTF-8 patch.
But I failed to compile it due to the following errors.
Environment : CentOS 4.3 x86_64
Sungsoo Kim
----------------------------------
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../common -I../api
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
2010 Mar 16
2
Debug build
Hello,
I have updated to Xapian 1.1.4 and maybe there is a
memory leak. I can run only dmalloc - valgrind would
be much too slow.
How can I build a debug-build of xapian?
Thanks a lot
Marcus
2012 Oct 05
2
Installing a gnome-desktop on CENTOS-6.3 following minimal system install.
I am still trying without much success to get a desktop on my minimal
+ virtualization install of a CentOS-6.3 kvm host. When I run startx
I get a desktop but other than the icons for computer, home and trash
there is nothing displayed. I can right click the mouse and from
there I can open a terminal window and creat a folder on the desktop
but I have no title bar and no status bar. There are
2006 Mar 03
1
xapian-0.9.4 queryparser build errors after applying utf-8 patch
I have encountered the following build errors after applying xapian-qp-utf8-0.9.2.patch.
There is no build error before the patch.
- CentOS 4.2 64 bit version (RHEL 4.0.2 compatible)
- AMD Opteron dual processor
Can anybody tell me what I am missing?
Thanks!
Sungsoo Kim
--------------------------------------------------
[root at saturn queryparser]# make
make all-am
make[1]: Entering
2008 Sep 16
1
Some Questions From the beginner of Xapian
Dear, guys:
I am a beginner of Xapian, when reading the documents, I encountered follow questions.
(1) I see the Xapian::Document has a method
void add_value (Xapian::valueno valueno, const std::string &value)
What's the purpose of this method? Document will related to the terms, but what's the purpose of this?
(2) add_posting method will add term to a documents.
void