Querying Solr using dismax, requested field not showing up in debug score boosts

2010-11-02 Thread zakuhn

I'm storing a set of products in solr as ducuments. I'm separating out the
name, description, keywords, and product category name into separate fields
so that I can boost them independently using the dismax handler. All the
fields are stored as text in the same way.

I'm passing these four fields in the fl param to the dismax handler, and I'm
also specifying them with a boost in the qf field. Not every record
(document) has a category name associated with it, but the problem I have is
that even when the category name comes back in the query results, I do not
see the boost I am applying to that field taking effect in the debug output
of the solr query.

Does anyone have an idea of why this could be?

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Querying-Solr-using-dismax-requested-field-not-showing-up-in-debug-score-boosts-tp1829456p1829456.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Querying Solr using dismax, requested field not showing up in debug score boosts

2010-11-02 Thread zakuhn

Ok, here is the query cleaned up a bit:

solr/select/?q=mattress
q.op=AND
qt=dismaxfl=name%2Cdescription%2Cgroup_id%2Clowest_price%2Cnum_child_products%2Craw_category_string%2Ccategory_id%2Cparent_category_id%2Cstr_brand%2Cgrandparent_category_id%2Cgrandparent_category_name%2Cparent_category_name%2Ccategory_name
start=0
rows=25
indent=on
wt=php
version=2.2
mm=35%
ps=0
qs=0
sort=score%20desc
fq=-parent_id:%5B%2A%20TO%20%2A%5Dfq=-num_child_products:%5B%2A%20TO%201%5Dfq=-parent_group_id:%5B%2A%20TO%20%2A%5Dqf=keywords%5E.5%20description%5E1.5%20brand%5E0.7%20manufacturer_model%5E4%20name%5E5%20upc%5E1%20isbn%5E1%20raw_category_string%5E.8%20category_id%5E1%20str_brand%5E1%20grandparent_category_name%5E1%20parent_category_name%5E2%20category_name%5E3
facet=true
facet.limit=150
facet.mincount=1
facet.offset=0
facet.field=str_brand
facet.field=grandparent_category_id
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Querying-Solr-using-dismax-requested-field-not-showing-up-in-debug-score-boosts-tp1829456p1831414.html
Sent from the Solr - User mailing list archive at Nabble.com.