diff options
| author | Arun Isaac | 2026-09-24 16:33:28 +0100 |
|---|---|---|
| committer | Arun Isaac | 2026-09-24 16:33:28 +0100 |
| commit | 3cd6461d0383af1843ed841d434953d969f40f50 (patch) | |
| tree | 23d42a520a7e1888de778b1449bceea52c2a064e /xapian | |
| parent | deb078b6c92c3352611f85cc0875f91a91dae56c (diff) | |
| download | guile-xapian-3cd6461d0383af1843ed841d434953d969f40f50.tar.gz guile-xapian-3cd6461d0383af1843ed841d434953d969f40f50.tar.lz guile-xapian-3cd6461d0383af1843ed841d434953d969f40f50.zip | |
Rename query-terms to query-termlist.
This makes it clearer that this is really a C++ iterator we are dealing with, and is more in line with how we name other *-termlist, *-positionlist, etc. functions.
Diffstat (limited to 'xapian')
| -rw-r--r-- | xapian/xapian.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xapian/xapian.scm b/xapian/xapian.scm index b104cfd..c744101 100644 --- a/xapian/xapian.scm +++ b/xapian/xapian.scm @@ -58,7 +58,7 @@ query-xor query-filter query-phrase - query-terms + query-termlist prefixed-range-processor suffixed-range-processor prefixed-date-range-processor @@ -358,7 +358,7 @@ In a weighted context, the weight is the sum of the weights for all queries." (guile-xapian-build-query (Query-OP-PHRASE) queries)) -(define (query-terms query) +(define (query-termlist query) (iterable (Query-get-terms-begin query) (Query-get-terms-end query))) |
