search for: get_wdf

Displaying 5 results from an estimated 5 matches for "get_wdf".

2011 Mar 07
1
Set Term Frequency for a Query
...=0) : Xapian::Query query_test(Xapian::Query::OP_OR, Xapian::Query("Bonjour", 10), Xapian::Query("Hello", 5)); Xapian::TermIterator qt = query_test.get_terms_begin(); while (qt != query_test.get_terms_end()) { cout<<*qt<<" "<<qt.get_wdf()<<" "; qt++; } returns : Bonjour 1 Hello 1 I don't understand why get_wdf returns "1" and not Bonjour 10 Hello 5 ? Regards, pa.
2011 Apr 19
0
Merge databases
...query_test(Xapian::Query::OP_OR, Xapian::Query("Bonjour", > 10), Xapian::Query("Hello", 5)); > Xapian::TermIterator qt = query_test.get_terms_begin(); > while (qt != query_test.get_terms_end()) > { > cout<<*qt<<" "<<qt.get_wdf()<<" "; > qt++; > } > > returns : Bonjour 1 Hello 1 > > I don't understand why get_wdf returns "1" and not Bonjour 10 Hello 5 ? > > Regards, > > pa. > > >
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
2009 Feb 12
1
problem when using xapian's static libs in windows
...ot;public: virtual class RemoteDatabase * __thiscall RemoteDatabase::as_remotedatabase(void)" (?as_remotedatabase at RemoteDatabase@@UAEPAV1 at XZ) libinmemory.lib(inmemory_database.obj) : error LNK2001: ????????? "public: virtual unsigned int __thiscall Xapian::PostingIterator::Internal::get_wdf(void)const " (?get_wdf at Internal@PostingIterator at Xapian@@UBEIXZ) libinmemory.lib(inmemory_database.obj) : error LNK2001: ????????? "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const * __thiscall Xapian::Pos...
2013 Jan 17
1
FASTER Search
...3655 1.3548 MultiMatch::get_mset(unsigned int, unsigned int, unsigned int, Xapian::MSet&, Xapian::Weight::Internal const&, Xapian::MatchDecider const*, Xapian::MatchDecider const*, Xapian::KeyMaker const*) 3172 1.1757 OrPostList::at_end() const 3061 1.1346 ChertPostList::get_wdf() const most of the time cost were about chert post list; Could I use some separate database for getting faster searching? Compacting database will help? How to reduce time cost for chert post list operation? Thanks!! De Lin -------------- next part -------------- An HTML attachment was scr...