search for: values_begin

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

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
2010 Aug 28
1
Matchspy and faceting
...he stringlistserialiser to place a list of all the tags in each taxonomy in value slots, one per taxonomy, and then a multivaluecountmatchspy on the search side. However, I have a few questions. 1.I thought the method on the MVCMS was get_top_values but the class seems to have the methods top_values_begin and top_values_end instead, which do seem to work though I'm unsure what the arguments are. Can you confirm this is right, and since I only found this by reading the source code, is there any matchspy documentation? 2. It seems like you have to fetch an mset after attaching the matchspy (...
2010 Jun 24
1
undefined reference to `Xapian::Document::values_end() const'
I've got a simple for-loop: for( v=doc.values_begin(); v!=doc.values_end(); v++ ) going through the values of a document from a search. I really don't understand why I'm getting this undefined reference? (apart from this, everything links fine). /Per Jessen, Z?rich
2011 Apr 21
1
How to Retrieve content of the document?
...E, $file); while (<FILE>){ s/^\W+//; s/\W+$//; @words = split(/\W+/, $_); foreach $tmp (@words){ if ($doc->add_posting($tmp, $line)){ warn "can't add word $tmp $line: $!\n"; } } $line++; } close(FILE); print $doc->values_begin()->get_value(); $db->add_document($doc) or warn "failed to add document: $file\n"; $count++; if ($count%500 == 0){ print "$count files indexed\n"; } } print "Total: $count files indexed\n"; I then used the following script to search...
2006 Nov 30
1
PHP / XapianQueryParser
...t() . "<br/>"; echo "Desc: " . $oiter->get_description() . "<br/>"; $data = $odoc->get_data(); echo $data; echo $odoc->termlist_count() . "<br/>"; echo $odoc->values_count() . "<br/>"; $ovalues = $odoc->values_begin(); while (!$ovalues->equals($odoc->values_end())) { print_r($ovalues); $ovalues->next(); } $oiter->next();} ?> I get nice results (great!). Except, I really, really want to have the individual values of the input data (keywords, description, url). I have found no way to do this...
2009 Feb 12
1
problem when using xapian's static libs in windows
..."public: class Xapian::ValueIterator __thiscall Xapian::Document::values_end(void)const " (?values_end at Document@Xapian@@QBE?AVValueIterator at 2@XZ) libinmemory.lib(inmemory_database.obj) : error LNK2019: ????????? "public: class Xapian::ValueIterator __thiscall Xapian::Document::values_begin(void)const " (?values_begin at Document@Xapian@@QBE?AVValueIterator at 2@XZ)??????? "private: void __thiscall InMemoryDatabase::finish_add_doc(unsigned int,class Xapian::Document const &)" (?finish_add_doc at InMemoryDatabase@@AAEXIABVDocument at Xapian@@@Z) ???? libnet.lib(seria...