search for: esetiterator

Displaying 8 results from an estimated 8 matches for "esetiterator".

Did you mean: psetiterator
2009 Jan 27
1
Segmentation fault in MSetIterator get_weight
Hi, I'm using xapian with c# and mono and i'm having a segfault in get_weight. When i print the index variable, the value is clearly too high. I think something write over it. Do you have any idea on how i could trace the beginning of the segmentation fault ? Thanks, -- Yann
2005 Jul 20
1
docid type redifine
...think it would be enough to edit "include/xapian/types.h", but it isn't so. 1) I've added : string om_tostring(unsigned long long val) { CONVERT_TO_STRING("%llu") } in common/utils.{h,cc} 2) In include/enquire.h (line 438) I've found the following declaration: ESetIterator operator[](Xapian::doccount i) const; but I think it would be ESetIterator operator[](Xapian::termcount i) const; isn't it? 3) Then I have the following errors while compiling backends: quartz_postlist.cc: In constructor ` QuartzPostList::QuartzPostList(Xapian::Internal::RefCntPtr<cons...
2010 Jul 26
2
related documents
Hi All, I would like to take a doc in the xapian DB and find all related documents by relevance e.g. so when you view one document it says "Related entries X Y Z". I'm aware of the "Morelikethis" Lucene plugin that is supposed to do something like this, by generating a query from a document based on term frequency. Has anyone developed a tool to generate a query from a
2007 Dec 28
1
Build Error in trunk (omega)
...atch should fix the typo (unless it's been fixed already, or there really is a pretty_tery function somewhere). --- /tmp/omega.cc.orig 2007-12-28 14:04:40.000000000 -0800 +++ xapian-applications/omega/omega.cc 2007-12-28 14:04:52.000000000 -0800 @@ -201,7 +201,7 @@ for (Xapian::ESetIterator i = eset.begin(); i != eset.end(); i++) { if ((*i).empty()) continue; if (!query_string.empty()) query_string += ' '; - query_string += pretty_tery(*i); + query_string += pretty_term(*i); } } } Che...
2010 Oct 21
2
In-memory databases vs PHP Bindings
I can't quite connect the dots on this, perhaps someone can help. I'm simply trying to create an in-memory database comprising a single document, so that I can run a load of queries against it and see if any of them match the new document (this is to enable users to have 'subscriptions' to saved searches and be alerted every time a new item is published that matches their
2015 Jun 10
1
make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0
...expected: 'Search::Xapian::MSetIterator=HASH(0x97230a0)' # Failed test 'document added to relevance set successfully' # at ./t/search.t line 97. # Failed test 'eset iterator reaches ESet::end() ok' # at ./t/search.t line 136. # got: 'Search::Xapian::ESetIterator=HASH(0x97238f0)' # expected: 'Search::Xapian::ESetIterator=HASH(0x9723bc0)' # Failed test 'matchless query's match set's start point and endpoint are the same' # at ./t/search.t line 148. # got: 'Search::Xapian::MSetIterator=HASH(0x9723d20)' #...
2014 Apr 13
2
Adding an external library to Xapian
...++i; - } + int c = 5; + Xapian::MSetIterator i = matches.begin(); + while (c-- && i != matches.end()) { + rset.add_document(*i); + ++i; + } } // Generate an ESet containing terms that the user might want to add to @@ -110,7 +129,7 @@ // List the terms. Xapian::ESetIterator t; for (t = eset.begin(); t != eset.end(); ++t) { - cout << *t << ": weight = " << t.get_weight() << endl; + cout << *t << ": weight = " << t.get_weight() << endl; } } catch (const Xapian::Error &e) { cout <...
2014 Apr 13
2
Adding an external library to Xapian
My code is not on Github. I am using the tarball as of now. The following it the error that occurred: http://pastebin.com/cVJrjUZX On Sun, Apr 13, 2014 at 8:16 PM, James Aylett <james-xapian at tartarus.org>wrote: > On 13 Apr 2014, at 15:37, Pallavi Gudipati <pallavigudipati at gmail.com> > wrote: > > > A linker error is encountered even after following the above