search for: tmiter

Displaying 2 results from an estimated 2 matches for "tmiter".

Did you mean: miter
2014 Apr 13
2
Adding an external library to Xapian
...// Create an RSet with the listed docids in. Xapian::RSet rset; if (*argv) { - while (*++argv) { - rset.add_document(atoi(*argv)); - } + while (*++argv) { + rset.add_document(atoi(*argv)); + } } + // Log the query + db.log(query_string); + // DB syns + Xapian::TermIterator tmiter = db.synonyms_begin(query_string); + Xapian::TermIterator tmiterend = db.synonyms_end(query_string); + for(;tmiter != tmiterend; ++tmiter) { + cout << "hello" << endl; + cout << *tmiter << endl; + } + + Xapian::Trie trie; // Parse the query string to produce...
2014 Apr 13
2
Adding an external library to Xapian
My code is not on Github. I am using the tarball as of now. The following it the error that occurred: http://pastebin.com/cVJrjUZX On Sun, Apr 13, 2014 at 8:16 PM, James Aylett <james-xapian at tartarus.org>wrote: > On 13 Apr 2014, at 15:37, Pallavi Gudipati <pallavigudipati at gmail.com> > wrote: > > > A linker error is encountered even after following the above