[Xapian-discuss] How to iterate over "all terms" in the database using the java-swig bindings?
Colin Bell
colinabell at gmail.com
Mon Apr 7 21:43:19 BST 2008
Hi Jarrod
I'm not sure which programming language your using but the C++ way of
doing it is
Database db;
db = .... your database
for (TermIterator j = db.allterms_begin(); j != db.allterms_end(); +
+j) {
string termItem = *j;
}
I hope this helps
On 7 Apr 2008, at 21:30, Jarrod Roberson wrote:
> I see that there is Database.allTermsBegin() and
> Database.allTermsEnd() but
> I can't figure out how they work together to iterate over all the
> terms in
> the database.
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
More information about the Xapian-discuss
mailing list