Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/olpc/datastore/xapianindex.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/olpc/datastore/xapianindex.py')
-rw-r--r--src/olpc/datastore/xapianindex.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/olpc/datastore/xapianindex.py b/src/olpc/datastore/xapianindex.py
index c465b41..7effc4c 100644
--- a/src/olpc/datastore/xapianindex.py
+++ b/src/olpc/datastore/xapianindex.py
@@ -16,6 +16,7 @@ __license__ = 'The GNU Public License V2+'
from Queue import Queue, Empty
import logging
import re
+import sys
import threading
import warnings
@@ -308,7 +309,7 @@ class IndexManager(object):
#
# Search
- def search(self, query, start_index=0, end_index=50):
+ def search(self, query, start_index=0, end_index=4096):
"""search the xapian store.
query is a string defining the serach in standard web search syntax.