Questions tagged [django-sphinx]

django-sphinx is a pluggable django app that implements a layer that functions much like the Django ORM does except it works on top of the Sphinx full-text search engine.

django-sphinx is a pluggable django app that implements a layer that functions much like the Django ORM does except it works on top of the Sphinx full-text search engine.

45 questions
10
votes
2 answers

Sphinx Search Engine & Python API

I am trying to use Sphinx Search Engine with their Python API. The installation went fine. But when I use their Python API I do not get the complete result set. I only get the ID's? But when I use their ./search binary in ./bin I get the entire…
Srikar Appalaraju
  • 71,928
  • 54
  • 216
  • 264
4
votes
2 answers

Search performance of Sphinx vs. Haystack

I was wondering if anyone had or could point me in the direction of benchmark results of the performance of using Sphinx to do search vs. Haystack with a Xapian backend. I'm mainly concerned with full text search on a single field in a single table.…
David542
  • 104,438
  • 178
  • 489
  • 842
4
votes
1 answer

Sphinx search in django admin

Trying to use sphinx search in django admin. Installed django-sphinx. Did as Docs tell: from djangosphinx.admin import SphinxModelAdmin class MyAdmin(SphinxModelAdmin): index = 'my_index_name' # defaults to Model._meta.db_table …
San4ez
  • 8,091
  • 4
  • 41
  • 62
4
votes
1 answer

Sphinx add_config_value not adding variable

Trying to add a simple true/false value per the docs here: http://sphinx-doc.org/ext/ifconfig.html In my conf.py file: extensions = ['sphinx.ext.todo', 'sphinx.ext.ifconfig'] # Custom variables def setup(app): …
Adam Grant
  • 12,477
  • 10
  • 58
  • 65
3
votes
3 answers

Why does django-sphinx only output 20 results? How can I get the rest?

Doing a search using django-sphinx gives me results._sphinx that says there were 68 results, but when I iterate over them, I can only get at the first 20 of them. I'm SURE there's a way around this, and that this is by design, but it's officially…
mlissner
  • 17,359
  • 18
  • 106
  • 169
3
votes
1 answer

Wildcard search issue sphinx

I'm getting the following error while trying a wildcard(*) enabled search in Sphinx 2.0.6 index products: syntax error, unexpected $undefined near '*' My search term is iphone 4s* It's using the products index as defined below. index users { …
Logan Bailey
  • 7,039
  • 7
  • 36
  • 44
2
votes
1 answer

Sphinx "reference target not found" warning

After creating a PR against the Django project Sphinx is emitting these warnings when running: make html locally: /path-to-project-dir/django/docs/releases/1.10.txt:304: WARNING: py:meth reference target not found:…
Joseph Victor Zammit
  • 14,760
  • 10
  • 76
  • 102
2
votes
2 answers

How do I automatically rebuild the Sphinx index under django-sphinx?

I just setup django-sphinx, and it is working beautifully. I am now able to search my model and get amazing results. The one problem is that I have to build the index by hand using the indexer command. That means every time I add new content, I have…
Apreche
  • 30,042
  • 8
  • 41
  • 52
1
vote
1 answer

Full Text Search for django using MySQL

I am from PHP and now using Django, I like match against queries of PHP and want to use some already developed app. for full text search. Good part is there are many available like djapian, sphinx, lucene,solango and haystack. And bad is I don't…
1
vote
0 answers

Djangosphinx failed to read searchd response

The error is djangosphinx.models.SearchError: failed to read searchd response (status=2613, ver=11825, len=775174445, read=75) Does anyone know how to solve it? root@haoran-Lenovo:~/wiscode/apps/question# python try.py
Haoran Wang
  • 211
  • 2
  • 5
1
vote
1 answer

How do I handle word forms in sphinx search

I have a sphinx server to index a mysql database for a django app. My search is working fine but my content includes medical words/phrases. So, for example, I need a search for "dvt" to also match against "deep venous thrombosis" and even "deep vein…
rsp
  • 811
  • 2
  • 12
  • 32
1
vote
1 answer

Sphinx automodule: failed to import module

I'm learning Sphinx to document my Django project. My project structure is like app |- docs |- build |- source |- conf.py |- index.rst |- make.bat |- Makefile |- src |- authentication |- __init__.py |-…
Anuj TBE
  • 9,198
  • 27
  • 136
  • 285
1
vote
1 answer

Django / Sphinx: How to query on multiple models?

I want to be able to query different models at once and get the aggregate result of the full text search. i.e. books and authors as a single list, sorted by relevance for example. As I understand, in the documentation it mentions that it is…
onurmatik
  • 5,105
  • 7
  • 42
  • 67
1
vote
1 answer

Search app in Django

I am building search app using django & sphinx. I got the setup working but when I search I get irrelevant results. Here is what I do - # this is in my trial_data Model search = SphinxSearch( index = 'trial_data…
Srikar Appalaraju
  • 71,928
  • 54
  • 216
  • 264
1
vote
2 answers

where is SeparatedValuesField in my code, i used sphinx

from django.db import models from djangosphinx import SphinxSearch # A sample model from iBegin class City(models.Model): name = models.CharField(max_length=32) aliases = SeparatedValuesField(blank=True,…
zjm1126
  • 63,397
  • 81
  • 173
  • 221
1
2 3