diff options
-rw-r--r-- | TODO.rst | 6 | ||||
-rw-r--r-- | lesana/collection.py | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -6,3 +6,9 @@ The following features are already planned. lesana). * Write a command which reads data from a collection and writes it to another one, using a simple mapping of fields. + +The following features may be nice to have. + +* Having an indexing mode that adds the field as a value instead of a + term, see + https://getting-started-with-xapian.readthedocs.io/en/latest/concepts/indexing/values.html diff --git a/lesana/collection.py b/lesana/collection.py index fbdb935..0280f85 100644 --- a/lesana/collection.py +++ b/lesana/collection.py @@ -165,7 +165,7 @@ class Collection(object): for v in values: try: self.indexer.index_text( - v, + str(v), 1, field['prefix']) except ValueError as e: |