[Xapian-discuss] How to iterate over "all terms" in the database using the java-swig bindings?

Jarrod Roberson jarrod at vertigrated.com
Mon Apr 7 21:51:43 BST 2008


On Mon, Apr 7, 2008 at 4:43 PM, Colin Bell <colinabell at gmail.com> wrote:

> 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
>
>  <http://lists.xapian.org/mailman/listinfo/xapian-discuss>
>
> I am sorry, I am working with the Java-Swig bindings?


More information about the Xapian-discuss mailing list