Search but it actually works
* Point to my fork of xapian-haystack
This commit is contained in:
parent
13dd18b28a
commit
48496ec839
7
README
7
README
|
@ -18,13 +18,6 @@ python -m venv venv
|
|||
pip install -r requirements.txt
|
||||
|
||||
# To install xapian to power /search:
|
||||
git clone https://github.com/notanumber/xapian-haystack.git
|
||||
cd xapian-haystack
|
||||
git remote add inscape https://github.com/inkscape/xapian-haystack.git
|
||||
git fetch inscape
|
||||
git cherry-pick d1346dc53f35b0960badf6435cff468c648de694
|
||||
pip install ./xapian-haystack
|
||||
|
||||
# Check the latest version of xapian from https://github.com/xapian/xapian/tags
|
||||
. install_xapain <version>
|
||||
|
||||
|
|
|
@ -6,4 +6,4 @@ Markdown~=3.3.4
|
|||
jetforce
|
||||
python-decouple
|
||||
django-haystack
|
||||
git+https://github.com/notanumber/xapian-haystack.git
|
||||
git+https://tildegit.org/matthias/xapian-haystack.git
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<div class="main">
|
||||
<span class="main-text text">{{ thought.object.text|urlize }}</span>
|
||||
|
||||
<a href="/?show={{thought.uuid}}" class="button show-more">Show</a>
|
||||
<a href="/?show={{thought.object.uuid}}" class="button show-more">Show</a>
|
||||
</div>
|
||||
|
||||
<div class="thought-end">
|
||||
|
|
|
@ -49,6 +49,8 @@ INSTALLED_APPS = [
|
|||
"main",
|
||||
]
|
||||
|
||||
HAYSTACK_SIGNAL_PROCESSOR = "haystack.signals.RealtimeSignalProcessor"
|
||||
|
||||
HAYSTACK_CONNECTIONS = {
|
||||
"default": {
|
||||
"ENGINE": "xapian_backend.XapianEngine",
|
||||
|
|
Loading…
Reference in New Issue