search for: positioniterator

Displaying 15 results from an estimated 15 matches for "positioniterator".

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
2009 Feb 12
1
problem when using xapian's static libs in windows
...ocator<char> > const &)const " (?open_allterms at RemoteDatabase@@UBEPAVInternal at TermIterator@Xapian@@ABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z) libbackend.lib(dbfactory_remote.obj) : error LNK2001: ????????? "public: virtual class Xapian::PositionIterator::Internal * __thiscall RemoteDatabase::open_position_list(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?open_position_list at RemoteDatabase@@UBEPAVInternal at PositionIterator@Xapian@@IABV?$basic_st...
2023 Mar 28
1
uncaught C++ exception from Perl Search::Xapian XS?
...ears to be an unwrapped C++ exception: > > terminate called after throwing an instance of 'Xapian::DatabaseModifiedError' > > Using `eval' from Perl5 doesn't seem effective in catching it. > > I'm using postlist_begin, postlist_end and ++ to iterate a > PositionIterator, and reading XS/*Iterator.xs, I see the XS > wrappers are missing: FWIW, postlist_begin gives you a PostingIterator (positionlist_begin would give you a PositionIterator). > try { } catch { handle_exception(); } > > in several places. Not sure if that's it or if something >...
2023 Mar 27
1
uncaught C++ exception from Perl Search::Xapian XS?
...stable and I'm getting what appears to be an unwrapped C++ exception: terminate called after throwing an instance of 'Xapian::DatabaseModifiedError' Using `eval' from Perl5 doesn't seem effective in catching it. I'm using postlist_begin, postlist_end and ++ to iterate a PositionIterator, and reading XS/*Iterator.xs, I see the XS wrappers are missing: try { } catch { handle_exception(); } in several places. Not sure if that's it or if something else (I know C, but am not remotely fluent in C++). Thanks
2015 Jun 10
1
make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0
...termgenerator.t .. 1/28 # Failed test 2 in ./t/termgenerator.t at line 26 # ./t/termgenerator.t line 26 is: ok( $ti ne $doc->termlist_end()); # Failed test 5 in ./t/termgenerator.t at line 30 # ./t/termgenerator.t line 30 is: ok( $pi ne $ti->positionlist_end() ); # Test 7 got: "Xapian::PositionIterator()" (./t/termgenerator.t at line 32) # Expected: "Xapian::PositionIterator()" # ./t/termgenerator.t line 32 is: ok( ++$pi, $ti->positionlist_end() ); # Failed test 8 in ./t/termgenerator.t at line 34 # ./t/termgenerator.t line 34 is: ok( ++$ti ne $doc->termlist_end()); # Fai...
2007 Nov 08
1
Perl make test fails on threads in rhel5
Hi all, I've tried building RPMs for RHEL5 and hit this problem in Search::Xapian: make test fails on test 37: ok 34 - check PositionIterator ok 35 - create TermIterator ok 36 - check TermIterator dubious Test returned status 0 (wstat 11, 0xb) DIED. FAILED tests 37-65 Failed 29/65 tests, 55.38% okay $ xapian-config --version xapian-config - xapian-core 1.0.4 $ cat /etc/redhat-release Red Hat Enterprise Linux Client rele...
2010 Jan 16
1
PHP XapianTermIterator/XapianPositionIterator usage
Hello again, /thanks to Peter for previous response. I've been digging around trying to find sample usage of XapianTermIterator/XapianPositionIterator in PHP. The idea is to code up a test case in PHP to perform snippet extraction (with a possible view to coding a pecl extension in C). I found a C++ sample, but that wasn't much help. I must be dense this morning though, since I can't get my head around how to use XapianTermIterator to...
2017 Dec 07
2
xapian 1.4 performance issue
Hi, I have had reports that Recoll has become unbearingly slow in some instances. After inquiry, this happens with Xapian 1.4 only, and the part which does not work any more is the snippets extraction. Recoll builds snippets by partially reconstructing documents out of index contents. For this, after determining a set of document term positions to be displayed (around the hopefully interesting
2017 Dec 07
0
xapian 1.4 performance issue
...nts will benefit less. I'd suggest a quick prototype to see if it's worth the effort. * If you're feeding the reconstructed text into something to dynamically select a snippet, then that could potentially be driven from a lazy merging of the positional data (e.g. a min heap of PositionIterator). If the snippet selector terminates once it's found a decent snippet then this would avoid having to decode all the positional data, but it would have to read it to find the first position of every term, so it doesn't really address the data locality issue. It also would have to...
2005 Aug 12
1
error building xapian
...or: 'db' was not declared in this scope inmemory_database.cc: In member function 'virtual OmExpandBits InMemoryTermList::get_weighting() const': inmemory_database.cc:223: error: '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...
2017 Dec 08
2
xapian 1.4 performance issue
...I'd suggest a quick prototype to see if it's worth > the effort. > * If you're feeding the reconstructed text into something to dynamically > select a snippet, then that could potentially be driven from a lazy > merging of the positional data (e.g. a min heap of PositionIterator). > If the snippet selector terminates once it's found a decent snippet > then this would avoid having to decode all the positional data, but it > would have to read it to find the first position of every term, so it > doesn't really address the data locality issue....
2006 May 10
1
Documentation for the PHP OO wrapper
...ons in the xslt file is probably not an option. Perhaps we can use a hand-coded xml file which would be included in "all.xml" by using a modified version of combine.xslt. It would allow to say things like : - ignore methods xxx which have the signature yyy - add documentation for method PositionIterator::get_termpos from what doxygen generated for "operator *" - add documentation for a new method MSet::get_document_percentage (doc in Doxygen format would follow...) I started to test that approach : the code is between comments in the xslt file (search for 'mappings'), and the...
2011 Apr 21
1
Installing Search::xapian
...3pm Manifying blib/man3/Search::Xapian::BoolWeight.3pm Manifying blib/man3/Search::Xapian::DocNotFoundError.3pm Manifying blib/man3/Search::Xapian::LogicError.3pm Manifying blib/man3/Search::Xapian::Stem.3pm Manifying blib/man3/Search::Xapian::PostingIterator.3pm Manifying blib/man3/Search::Xapian::PositionIterator.3pm Manifying blib/man3/Search::Xapian::MultiValueSorter.3pm Manifying blib/man3/Search::Xapian::FeatureUnavailableError.3pm Manifying blib/man3/Search::Xapian::DatabaseVersionError.3pm Manifying blib/man3/Search::Xapian::DatabaseOpeningError.3pm Manifying blib/man3/Search::Xapian::DatabaseError.3p...
2017 Mar 15
2
xapian core missing link to math on MSYS2
...ce.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/smallvector.o api/.libs/sortable-serialise.o api/.libs/termiterator.o api/.libs/termlist.o api/.libs/valueiterator.o api/.l...
2020 Mar 22
0
Unable to build RPM for Centos 7
...derefwrapper.h include/xapian/document.h include/xapian/enquire.h include/xapian/errorhandler.h include/xapian/eset.h include/xapian/expanddecider.h include/xapian/intrusive_ptr.h include/xapian/iterator.h include/xapian/keymaker.h include/xapian/matchspy.h include/xapian/mset.h include/xapian/positioniterator.h include/xapian/postingiterator.h include/xapian/postingsource.h include/xapian/query.h include/xapian/queryparser.h include/xapian/registry.h include/xapian/stem.h include/xapian/termgenerator.h include/xapian/termiterator.h include/xapian/types.h include/xapian/unicode.h include/xapian/val...