Django Haystack - How to boost a field?
I'm with some problems in Django Haystack 1.2.5. I need to boost one field but aparently it is not working. I'm using Solr 1.4.1.

My Index:

	class JobsTextIndex(indexes.SearchIndex):
	    text            = indexes.CharField(document=True, use_template=True)
	    job_title       = indexes.CharField(model_attr='job_title', boost=1.50)
	    job_description = indexes.CharField(model_attr='job_description')
	    country_ad      = indexes.CharField(model_attr='country_ad')
	    zone_ad         = indexes.CharField(model_attr='zone_ad', faceted=True)
	    location_ad     = indexes.CharField(model_attr='location_ad', faceted=True)
	    date_inserted   = indexes.DateTimeField(model_attr='date_inserted')
	    
	    def index_queryset(self):
		"""Used when the entire index for model is updated."""
		return JobsadsText.objects.filter(date_inserted__lte=datetime.datetime.now())


I have in the job_title "boost=1.50" but this apparently it is not working, this is what is generated by Solr:

	INFO: [core0] webapp=/solr path=/select/ params={facet=on&sort=date_inserted+desc&fl=*+score&start=0&q=arquiteto&facet.field=location_ad_exact&facet.field=zone_ad_exact&wt=json&fq=django_ct:(myapp.jobstext)&rows=20} hits=65 status=0 QTime=5 


The query that I'm doing is this one:

	sqs = SearchQuerySet().facet('zone_ad').facet('location_ad').order_by('-date_inserted')


Can someone give me a clue on what I need to get Haystack Boost working?

Best Regards,
Django Haystack - How to boost a field?
===

I'm with some problems in Django Haystack 1.2.5. I need to boost one field but aparently it is not working. I'm using Solr 1.4.1.

My Index:

	class JobsTextIndex(indexes.SearchIndex):
	    text            = indexes.CharField(document=True, use_template=True)
	    job_title       = indexes.CharField(model_attr='job_title', boost=1.50)
	    job_description = indexes.CharField(model_attr='job_description')
	    country_ad      = indexes.CharField(model_attr='country_ad')
	    zone_ad         = indexes.CharField(model_attr='zone_ad', faceted=True)
	    location_ad     = indexes.CharField(model_attr='location_ad', faceted=True)
	    date_inserted   = indexes.DateTimeField(model_attr='date_inserted')
	    
	    def index_queryset(self):
		"""Used when the entire index for model is updated."""
		return JobsadsText.objects.filter(date_inserted__lte=datetime.datetime.now())


I have in the job_title "boost=1.50" but this apparently it is not working, this is what is generated by Solr:

	INFO: [core0] webapp=/solr path=/select/ params={facet=on&sort=date_inserted+desc&fl=*+score&start=0&q=arquiteto&facet.field=location_ad_exact&facet.field=zone_ad_exact&wt=json&fq=django_ct:(myapp.jobstext)&rows=20} hits=65 status=0 QTime=5 


The query that I'm doing is this one:

	sqs = SearchQuerySet().facet('zone_ad').facet('location_ad').order_by('-date_inserted')


Can someone give me a clue on what I need to get Haystack Boost working?

Best Regards,