search for: termlist_end

Displaying 6 results from an estimated 6 matches for "termlist_end".

2015 Jun 10
1
make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0
..../t/document.t at line 37 # ./t/document.t line 37 is: ok( $it ne $doc->values_end() ); # Failed test 13 in ./t/document.t at line 42 # ./t/document.t line 42 is: ok( $it eq $doc->values_end() ); # Failed test 21 in ./t/document.t at line 81 # ./t/document.t line 81 is: ok( $it ne $doc->termlist_end()); # Failed test 24 in ./t/document.t at line 85 # ./t/document.t line 85 is: ok( $it eq $doc->termlist_end()); ./t/document.t .. Failed 5/26 subtests Test Summary Report ------------------- ./t/document.t (Wstat: 0 Tests: 26 Failed: 5) Failed tests: 5, 9, 13, 21, 24 Files=1, Tests=26, 1...
2015 Jun 19
1
REPLY: make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0
..../t/document.t line 37 is: ok( $it ne $doc->values_end() ); > # Failed test 13 in ./t/document.t at line 42 > # ./t/document.t line 42 is: ok( $it eq $doc->values_end() ); > # Failed test 21 in ./t/document.t at line 81 > # ./t/document.t line 81 is: ok( $it ne $doc->termlist_end()); > # Failed test 24 in ./t/document.t at line 85 > # ./t/document.t line 85 is: ok( $it eq $doc->termlist_end()); > ./t/document.t .. Failed 5/26 subtests [snip more failures] I can't reproduce this on Debian unstable - all the tests pass for me. > Slackware-...
2016 May 05
2
GSoC 2016 - Introduction
Hello, Thanks James for the reply. That cleared a few things out. Apologies for replying late because of exams going on. I was going through the previous clustering API to understand how it worked and it seems like the the approach for construction of the termlists which are used for distance metrics use TF-IDF weighting with cosine similarity, which is very similar to the approach I would need
2015 Jul 23
1
Get term from document by position
...ow to get the terms itself? Xapian::Document does not have something like GetTermByPosition(int position). Currently i am iterating through all of the terms, than through all of the positions, something like this: for (term = xapian_database.termlist_begin(docid); term != xapian_database.termlist_end(docid); term++) { for (pos = xapian_database.positionlist_begin(docid, *term); pos != xapian_database.positionlist_end(docid, *term); pos++) { if ( (*pos) == position_of_my_term)) my_term= *term; } } This does what i want, but this cycle...
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
...inmemory.lib(inmemory_database.obj) : error LNK2019: ????????? "public: __thiscall Xapian::TermIterator::TermIterator(class Xapian::TermIterator::Internal *)" (??0TermIterator at Xapian@@QAE at PAVInternal@01@@Z)??????? "public: class Xapian::TermIterator __thiscall Xapian::Document::termlist_end(void)const " (?termlist_end at Document@Xapian@@QBE?AVTermIterator at 2@XZ) ???? libnet.lib(serialise.obj) : error LNK2001: ????????? "public: __thiscall Xapian::TermIterator::TermIterator(class Xapian::TermIterator::Internal *)" (??0TermIterator at Xapian@@QAE at PAVInternal@01@@Z)...