Comments (5)
Are you using the Xapian backend?
There is a small mention about performance considerations in the README
under the Basic Setup and End-to-end Interface
.
Basically review the two available backends.
Let me know if that helps.
from text-sherlock.
Hi Christopher,
Thanks for the quick reply! I'm using the default backend indeed.
I'll give xapian a try and let you know asap..
Thanks! (and a happy new year,btw! :-)
from text-sherlock.
I can't get the xapian backend working, I'm sorry.
Xapian eventually installed ok, sherlock actually tries to use it, but the db cannot be opened:
File "/home/boris/text-sherlock/core/sherlock/backends/xapian_backend.py", line 63, in open_index
self.index = xapian.WritableDatabase(path, xapian.DB_OPEN)
File "/home/boris/text-sherlock/sherlock_env/lib/python3.4/site-packages/xapian/__init__.py", line 9151, in __init__
_xapian.WritableDatabase_swiginit(self, _xapian.new_WritableDatabase(*args))
xapian.DatabaseOpeningError: /home/boris/text-sherlock/data/indexes/main/iamglass: Failed to open glass revision file for reading (No such file or directory)
I've added the following lines to local_settings.yml:
default_searcher: 'xapian'
default_indexer: 'xapian'
index_paths: '/crossminer/git_repos/'
Hum.. The index_paths directive doesn't seem to work either, but that's another problem I guess.
Any hint? Thanks a lot in advance to help me get that up and running..
from text-sherlock.
The folder /home/boris/text-sherlock/data/indexes/main/
exists, is writeable by the user. The file iamglass
doesn't exist, though.
from text-sherlock.
My setup is probably too big, closing the issue for clarity's sake. Thanks for the support team, you're great! :-)
from text-sherlock.
Related Issues (20)
- Add YAML config support HOT 1
- patch for current version HOT 6
- Error while trying to reindex HOT 3
- Add line numbers HOT 3
- New Setting: Skip indexing if directory empty HOT 2
- TypeError: coercing to Unicode: need string or buffer, NoneType found HOT 7
- commit 166 new error :/ HOT 1
- error while updating index HOT 2
- error while trying to run the server
- error while trying to run the server
- error while trying to run the server HOT 6
- "Total documents indexed: 0" issue HOT 3
- "python main.py --test" error if "log_path" configured HOT 1
- Allow for partial text searching HOT 2
- Excluding directories? HOT 3
- DocNotFoundError during index update HOT 1
- Integrate indexing/searching of PDFs and other textual docs HOT 2
- Install instructions unclear HOT 3
- Feature request: Browsing interface HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from text-sherlock.