search for: allterms_begin

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

2006 Jan 30
1
More than one Index?
Morning All, I use scriptindex to build my database and the PHP bindings to pull it all out. Is it possible to have more than one index but select what the bindings search on? So at the moment I index property addresses, I would also like to index property descriptions for more advanced searching but only as an optional extra...probably in an extra search box. Also I would like to analyse the
2005 Feb 25
2
Bug in TermIterator::skip_to() ?
...(mostly using the Python bindings) and I think I've hit a bug in the TermIterator::skip_to() method (or maybe in QuartzAllTermsList::skip_to()). I've attached a c++ source file that demonstrates the issue. In short, if you have a WritableDatabase, ask for the all-terms TermIterator with db.allterms_begin(), and then skip_to() a word that is itself a term, the iterator sometimes stays at the beginning of the term list. In the attached file this is demonstrated with skip_to("amsterdam"), which results in the iterator remaining at the first term ("!!!"). If you skip_to("amster...
2023 Dec 01
1
termlist_begin ordering in older versions
Hey, I noticed commit 145503bbe4a5bf702cd13cb2e592111e8d7ca89a (Reimplement Database and WritableDatabase, 2017-10-05) added the phrase: "The terms are returned ascending string order (by byte value)" for termlist_begin. Is that also true for the 1.4 (or even 1.2) series? Also, is allterms_begin also the same w.r.t. ordering? Thanks.
2013 Oct 30
2
Lucene 3.6.2 backend for xapian (#25)
...multi-database support, but I think otherwise we'll end up duplicating a lot of that machinery in the Lucene backend anyway. I've not looked at the Lucene file structure with this in mind yet though - do you see any obvious problems with this approach? > Xapian::TermIterator it = db_in.allterms_begin(); > This method traverse all terms in the first segment, then the second > segment, until the last segment. Iteration over all terms should return the terms in sorted order (by byte value) and without duplicates, neither of which is achieved by handling each segment in turn like this. But...
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 Jan 27
1
Segmentation fault in MSetIterator get_weight
Hi, I'm using xapian with c# and mono and i'm having a segfault in get_weight. When i print the index variable, the value is clearly too high. I think something write over it. Do you have any idea on how i could trace the beginning of the segmentation fault ? Thanks, -- Yann