Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories:
Computers > Programming
More group info »
Discussions
View:  Topic list, Topic summary « Newer  Topics 11 - 20 of 104  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: Discussion for http://code.google.com/p/django-sphinx/
 

Custom id fields.. what's this comment mean? 
  from models.py, line 581 or so: # django-sphinx supports the compositepks branch # as well as custom id columns in your sphinx configuration # but all primary key columns still need to be present in the field list I can't find reference to 'custom id columns' in the sphinx docs. What... more »
By phill tornroth  - Mar 17 2011 - 7 new of 7 messages    

Turning on passages returns no results 
  Hi, I'm trying to use django-sphinx to get excerpts working on my site, so I changed my code to do a query as such: queryset = Document.search.query(q) results = queryset.set_options(mode="SPH _MATCH_EXTENDED2", passages=True).order_by('-date Filed') Previously, this code returned one result for the same query:... more »
By Mike  - Mar 13 2011 - 1 new of 1 message    

Concerned about how order_by is working... 
  So, question on order_by. When I issue a query through djangosphinx with an order_by clause on an attribute of mine, I see that Sphinx returns the list of pks in the correct order say (5,3,7). Then djangosphinx issues a Django query for the models with that list of ids.. something like... 'SELECT * FROM app_model WHERE id IN (5,3,7)'... more »
By phill tornroth  - Jan 11 2011 - 2 new of 2 messages    

BuildExcerpts AssertionError 
  I'm trying to use BuildExcerpts in django sphinx. My view looks something like this: q = request.GET.get('q', '') my_model_list = MyModel.search.query(q).set_op tions(passages=True, passages_opts={ 'before_match':"<font color='red'>", 'after_match':'</font>',... more »
By Joe James  - Dec 1 2010 - 2 new of 2 messages    

Older Versions 
  Hi, I've been searching google to little avail. Where can I get older vesions of django-sphinx that work with django-1.0.4? Thanks, Ben
By Ben Griffiths  - Nov 25 2010 - 1 new of 1 message    

Geo Location using django-sphinx 
  Hi, I want to do something similar to this: [link] using django-sphinx. Basically I want to implement geo-location search using django-sphinx. Is it possible? Has somebody done something like that? Thank you.
By Greivin Lopez  - Nov 19 2010 - 3 new of 3 messages    

Sphinx Admin 
  Does the example shown on the django-sphinx page still apply? from djangosphinx.admin import SphinxModelAdmin class MyAdmin(SphinxModelAdmin): index = 'my_index_name' # defaults to Model._meta.db_table weights = {'field': 100} Can anyone show an example adding the SphinxModel to the admin model?... more »
By Randy  - Jul 13 2010 - 1 new of 1 message    

Non-asci characters in search = no result 
  Hi, don't know if anybody read this...but when performing queries with non- asci characters, i get no match, but there should be match. Has anybody faced this problem? R.
By urukay  - Jun 16 2010 - 2 new of 2 messages    

Django Sphinx Foreign key search 
  Hi, I'm trying to create full text search on model, everything goes fine when searching TextFields but I have a problem with ForeignKey field. How can i do that? Can anyone point me to the right direction? Thanks Model example: class Model1(models.Model): text_field =models.TextField(max_length=2 50)... more »
By urukay  - Apr 13 2010 - 1 new of 1 message    

Use date fields as attributes 
  I have a date field in my model that I'd like to use as an attribute, but it's not working. For example, I'd like to be able to search like this (with extended boolean turned on): @dateField 2010-04-05 And get back every document that has the date field of the fifth of April. Is there a way to do this?... more »
By Mike  - Apr 9 2010 - 2 new of 2 messages    

11 - 20 of 104   « Newer | Older »

XML       Send email to this group: django-sphinx@googlegroups.com