search for: leafpostlist

Displaying 11 results from an estimated 11 matches for "leafpostlist".

2007 Apr 05
1
Re: [Xapian-commits] 8107: trunk/xapian-core/ trunk/xapian-core/backends/
...ord, Mark just reported this to me under windows so it was a problem there too, but it does work under GCC 4.1. No idea which compiler is "correct", but that hardly matters... > Can't seem to forward define Database::Internal to make > Database::Internal a friend so just use LeafPostList directly > as that seems less bad than pulling in the whole of database.h > or making PostingIterator::internal public. Only problem with this patch is that it looks like it leaks the LeafPostList if an exception is thrown by one of the other methods (such as delete_document()). Actually,...
2009 Feb 12
1
problem when using xapian's static libs in windows
...RemoteDatabase@@UBE_NXZ) libnet.lib(tcpclient.obj) : error LNK2001: ????????? "public: virtual bool __thiscall RemoteDatabase::has_positions(void)const " (?has_positions at RemoteDatabase@@UBE_NXZ) libbackend.lib(dbfactory_remote.obj) : error LNK2001: ????????? "public: virtual class LeafPostList * __thiscall RemoteDatabase::open_post_list(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?open_post_list at RemoteDatabase@@UBEPAVLeafPostList@@ABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@...
2006 Nov 15
1
Composition of NEAR and OR
The following piece of code triggers an 'unimplemented' exception with the message: "Can't use NEAR/PHRASE with a subexpression containing NEAR or PHRASE" Xapian::Query or1(Xapian::Query::OP_OR, Xapian::Query("one"), Xapian::Query("two")); Xapian::Query or2(Xapian::Query::OP_OR, Xapian::Query("three"),
2020 Aug 23
2
MultiDatabase shard count limitations
...[.] _int_malloc 0.90% script/public-i libxapian.so.30.8.0 [.] Xapian::Database::get_wdf_upper_bound 0.88% script/public-i libc-2.28.so [.] _int_malloc 0.88% /mnt/btr/public perl [.] Perl_leave_scope 0.84% script/public-i libxapian.so.30.8.0 [.] LeafPostList::recalc_maxweight 0.70% script/public-i libxapian.so.30.8.0 [.] GlassDatabase::get_wdf_upper_bound 0.58% /mnt/btr/public perl [.] Perl_gv_fetchpvn_flags 0.54% script/public-i libxapian.so.30.8.0 [.] Xapian::Database::get_doclength_lower_bound 0.52% /mnt/...
2020 Aug 21
2
MultiDatabase shard count limitations
Going back to the "prioritizing aggregated DBs" thread from February 2020, I've got 390 Xapian shards for 130 public inboxes I want to search against(*). There's more on the horizon (we're expecting tens of thousands of public inboxes). After bumping RLIMIT_NOFILE and running ->add_database a bunch, the actual queries seem to be taking ~30s (not good :x). Now I'm
2013 Jan 17
1
FASTER Search
...erator::Internal*) 17803 6.5989 OrPostList::next(double) 12481 4.6262 AndMaybePostList::get_weight() const 10729 3.9768 OrPostList::get_weight() const 10096 3.7422 AndMaybePostList::next(double) 8743 3.2407 ChertDatabase::get_doclength(unsigned int) const 7527 2.7900 LeafPostList::get_weight() const 7504 2.7814 ChertPostListTable::get_doclength(unsigned int, Xapian::Internal::RefCntPtr<ChertDatabase const>) const 5402 2.0023 ChertPostList::jump_to(unsigned int) 4518 1.6746 ChertPostList::skip_to(unsigned int, double) 4341 1.6090 ChertPostList::...
2020 Feb 13
1
YottaDB as a data store for Xapian
By way of introduction, I manage YottaDB (https://yottadb.com and https://gitlab.com/YottaDB). The core of YottaDB is a hierarchical key-value datastore (https://docs.yottadb.com/MultiLangProgGuide/cprogram.html and https://gitlab.com/YottaDB/DB/YDB). The code base is mature (in daily production use since 1986), and very performant, with strongly ACID transactions, and replication (to ensure
2005 Aug 12
1
error building xapian
...db' was not declared in this scope inmemory_database.cc: In member function 'virtual Xapian::PositionIterator InMemoryTermList::positionlist_begin() const': inmemory_database.cc:256: error: 'db' was not declared in this scope inmemory_database.cc: In member function 'virtual LeafPostList* InMemoryDatabase::do_open_post_list(const std::string&) const': inmemory_database.cc:283: error: no matching function for call to 'InMemoryPostList::InMemoryPostList(Xapian::Internal::RefCntPtr<const InMemoryDatabase>, const InMemoryTerm&)' inmemory_database.h:142: note:...
2005 Jun 08
8
Building on Windows
...<char>, std::allocator<char> > const&, int, int)' api/.libs/libapi.a(omdatabase.o): In function `_ZNK6Xapian8Database14postlist_beginERKSs':/cygdrive/c/xapian-core-0.9. 0/api/omdatabase.cc:135: undefined reference to `MultiPostList::MultiPostList[in-charge](std::vector<LeafPostList*, std::allocator<LeafPostList*> >&, Xapian::Database const&)' api/.libs/libapi.a(omdatabase.o): In function `_ZNK6Xapian8Database14termlist_beginEj':/cygdrive/c/xapian-core-0.9.0/a pi/../include/xapian/base.h:515: undefined reference to `MultiTermList::MultiTermList[in-char...
2017 Mar 15
2
xapian core missing link to math on MSYS2
...64/lib/gcc/x86_64-w64-mingw32/6.3.0/crtbegin.o api/.libs/compactor.o api/.libs/constinfo.o api/.libs/decvalwtsource.o api/.libs/documentvaluelist.o api/.libs/editdistance.o api/.libs/emptypostlist.o api/.libs/error.o api/.libs/errorhandler.o api/.libs/expanddecider.o api/.libs/keymaker.o api/.libs/leafpostlist.o api/.libs/matchspy.o api/.libs/omdatabase.o api/.libs/omdocument.o api/.libs/omenquire.o api/.libs/positioniterator.o api/.libs/postingiterator.o api/.libs/postingsource.o api/.libs/postlist.o api/.libs/query.o api/.libs/queryinternal.o api/.libs/registry.o api/.libs/replication.o api/.libs/small...
2006 Dec 06
1
Bug and patch for +terms with wildcards
...tch.cc (revision 7552) +++ matcher/localmatch.cc (working copy) @@ -468,6 +468,12 @@ postlist_from_query(query->subqs[1], matcher, is_bool), matcher, db->get_doccount()); + case Xapian::Query::OP_MATCH_NOTHING: { + Assert(query->subqs.size() == 0); + LeafPostList *pl = new EmptyPostList(); + pl->set_termweight(new Xapian::BoolWeight()); + RETURN(pl); + } } Assert(false); RETURN(NULL); Index: tests/queryparsertest.cc =================================================================== --- tests/queryparsertest.cc...