Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Citronalco
solr-calibre-websearch
Commits
abbcb352
Commit
abbcb352
authored
Jul 15, 2014
by
Christoph Glaubitz
Browse files
added my calibre directory structure
parent
53fe151e
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.rst
View file @
abbcb352
...
...
@@ -11,6 +11,22 @@ accessing the mobi files is slow, since calibre-server does not seem to serve
those files as static assets.
Directory structure of my calibre library::
Some Author
|-- Some Title
| |-- cover.jpg
| |-- Some Title.mobi
| |-- metadata.opf
|-- Some other Title
|-- cover.jpg
|-- metadata.opf
|-- Some other Title.mobi
``metadata.opf`` is the xml, containing the metadata stuff.
However, I thought there must be a faster solution. And because I configured
solr_ yet, I decided to set this up and feed it with calibres metadata.
...
...
@@ -48,9 +64,11 @@ And it turns out... The index is quite fast, although solr is only running on
the raspberry pi, as well.
Like I mentioned already. This is far from being used in real life, but maybe will
give you an idea who to use solr, combining this with a little python example
(see python-workshop_).
Like I mentioned already. This is far from being used in real life, but maybe
will give you an idea who to use solr, combining this with a little python
example. Walking the file system tree, parsing xml files, searching in the xml
result set via xpath, talking to http api using requests_.
(See python-workshop_).
Next Steps...
...
...
@@ -66,4 +84,5 @@ Next Steps...
.. _calibre: http://calibre-ebook.com/
.. _solr: http://lucene.apache.org/solr/
.. _requests: http://docs.python-requests.org/
.. _python-workshop: https://github.com/chrigl/python-workshop
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment